diff options
author | Eric Anholt <[email protected]> | 2007-12-18 18:54:59 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2007-12-18 18:56:20 -0800 |
commit | d2d82f8a29d3698313956739a7d20704a62c6925 (patch) | |
tree | 46cfbac2b7572c880b200c0c04eb4f6768e867cf | |
parent | 4cca760a9b7fe120ed92257a6a6c4a3a6e929ba8 (diff) |
[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.
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_buffers.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_buffers.c b/src/mesa/drivers/dri/intel/intel_buffers.c index c351cfcfbc4..98928955102 100644 --- a/src/mesa/drivers/dri/intel/intel_buffers.c +++ b/src/mesa/drivers/dri/intel/intel_buffers.c @@ -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 */ |