update scissor at end of intel_draw_buffer()

This commit is contained in:
Brian Paul 2006-03-24 22:32:24 +00:00
parent 8e5650d7f4
commit c62af8e3b7

View file

@ -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 );
}