From 22e806f57013b2c116b5bfab228e0f28e25198f4 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 10 Dec 2011 11:44:43 -0700 Subject: swrast: add missing state validation calls for Blit, Clear --- src/mesa/swrast/s_blit.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mesa/swrast/s_blit.c') 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 && -- cgit v1.2.3