diff options
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_state.c')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_state.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_state.c b/src/gallium/drivers/freedreno/freedreno_state.c index 10031977e61..2f5d52c017c 100644 --- a/src/gallium/drivers/freedreno/freedreno_state.c +++ b/src/gallium/drivers/freedreno/freedreno_state.c @@ -137,14 +137,10 @@ fd_set_framebuffer_state(struct pipe_context *pctx, ctx->dirty |= FD_DIRTY_FRAMEBUFFER; - /* also need to reset the scissor.. mesa/gl state tracker - * does this for us, but u_blitter doesn't and other - * state trackers might not.. - */ - ctx->scissor.minx = 0; - ctx->scissor.miny = 0; - ctx->scissor.maxx = cso->width; - ctx->scissor.maxy = cso->height; + ctx->disabled_scissor.minx = 0; + ctx->disabled_scissor.miny = 0; + ctx->disabled_scissor.maxx = cso->width; + ctx->disabled_scissor.maxy = cso->height; ctx->dirty |= FD_DIRTY_SCISSOR; } |