[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.
This commit is contained in:
Eric Anholt
2007-12-18 18:54:59 -08:00
parent 4cca760a9b
commit d2d82f8a29
@@ -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 */