summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/radeon/radeon_tcl.c
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2010-10-27 13:53:29 -0400
committerAlex Deucher <[email protected]>2010-10-27 13:53:29 -0400
commitb194b9b23801cd716244047b0b9b8bd9be518b78 (patch)
tree33b9ea9727ff0520c7131d0a56fab7a471488147 /src/mesa/drivers/dri/radeon/radeon_tcl.c
parent80adc8ac3b45ee43f1e5f12164a56d63e63a2e65 (diff)
r100: revalidate after radeon_update_renderbuffers
This is a port of 603741a86df0e43c0b52e8c202a35c7fe2fc1d9c to r100. Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/radeon/radeon_tcl.c')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_tcl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_tcl.c b/src/mesa/drivers/dri/radeon/radeon_tcl.c
index c59b413012c..5d2e8f4870f 100644
--- a/src/mesa/drivers/dri/radeon/radeon_tcl.c
+++ b/src/mesa/drivers/dri/radeon/radeon_tcl.c
@@ -253,6 +253,8 @@ void radeonTclPrimitive( struct gl_context *ctx,
GLuint newprim = hw_prim | RADEON_CP_VC_CNTL_TCL_ENABLE;
radeon_prepare_render(&rmesa->radeon);
+ if (rmesa->radeon.NewGLState)
+ radeonValidateState( ctx );
if (newprim != rmesa->tcl.hw_primitive ||
!discrete_prim[hw_prim&0xf]) {