Commit d2d82f8a authored by Eric Anholt's avatar Eric Anholt

[915] Set cliprects in the drawbuffer software fallback case as well.

Otherwise, we may violate cliprect asssertions on clearing the buffers, which
isn't affected by the fallback.
parent 4cca760a
......@@ -911,6 +911,9 @@ intel_draw_buffer(GLcontext * ctx, struct gl_framebuffer *fb)
/*_mesa_debug(ctx, "Software rendering\n");*/
colorRegion = NULL;
if (fb->Name != 0)
else {
/* draw to exactly one color buffer */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment