aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_blit.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-12-10 11:44:43 -0700
committerBrian Paul <[email protected]>2011-12-13 06:45:36 -0700
commit22e806f57013b2c116b5bfab228e0f28e25198f4 (patch)
tree57501db1cac8048f7c97e144b0edcafecdc95910 /src/mesa/swrast/s_blit.c
parent23895cc006f3dbf96a502ddd15e291e071aff25a (diff)
swrast: add missing state validation calls for Blit, Clear
Diffstat (limited to 'src/mesa/swrast/s_blit.c')
-rw-r--r--src/mesa/swrast/s_blit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/swrast/s_blit.c b/src/mesa/swrast/s_blit.c
index f094be8985c..2817ec12ff9 100644
--- a/src/mesa/swrast/s_blit.c
+++ b/src/mesa/swrast/s_blit.c
@@ -573,6 +573,9 @@ _swrast_BlitFramebuffer(struct gl_context *ctx,
return;
}
+ if (SWRAST_CONTEXT(ctx)->NewState)
+ _swrast_validate_derived(ctx);
+
swrast_render_start(ctx);
if (srcX1 - srcX0 == dstX1 - dstX0 &&