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");*/
FALLBACK(intel, INTEL_FALLBACK_DRAW_BUFFER, GL_TRUE);
colorRegion = NULL;
if (fb->Name != 0)
intelSetRenderbufferClipRects(intel);
}
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