mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
update scissor at end of intel_draw_buffer()
This commit is contained in:
parent
8e5650d7f4
commit
c62af8e3b7
1 changed files with 4 additions and 0 deletions
|
|
@ -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 );
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue