summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-03-24 22:32:24 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-03-24 22:32:24 +0000
commitc62af8e3b772ea9b4359430920bf58de882c3933 (patch)
tree4516a48f3a0cae6a5207222099805e511f846df0
parent8e5650d7f49c85c236411cc926c5c251739e6c21 (diff)
update scissor at end of intel_draw_buffer()
-rw-r--r--src/mesa/drivers/dri/i915/intel_buffers.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_buffers.c b/src/mesa/drivers/dri/i915/intel_buffers.c
index cec16f86d2..4f4731b614 100644
--- a/src/mesa/drivers/dri/i915/intel_buffers.c
+++ b/src/mesa/drivers/dri/i915/intel_buffers.c
@@ -670,6 +670,10 @@ intel_draw_buffer(GLcontext *ctx, struct gl_framebuffer *fb)
/* update viewport since it depends on window size */
ctx->Driver.Viewport(ctx, ctx->Viewport.X, ctx->Viewport.Y,
ctx->Viewport.Width, ctx->Viewport.Height);
+
+ /* Update hardware scissor */
+ ctx->Driver.Scissor( ctx, ctx->Scissor.X, ctx->Scissor.Y,
+ ctx->Scissor.Width, ctx->Scissor.Height );
}