r300: fix a typo
authorMaciej Cencora <m.cencora@gmail.com>
Sat, 19 Sep 2009 16:46:51 +0000 (18:46 +0200)
committerMaciej Cencora <m.cencora@gmail.com>
Mon, 21 Sep 2009 19:12:31 +0000 (21:12 +0200)
src/mesa/drivers/dri/r300/r300_render.c

index b5ddfdc9f82f144b660081fd2aa8512e26f8769a..3cd38753b8ad3e2da1a58eae63ae3fa73e0c250a 100644 (file)
@@ -475,7 +475,7 @@ void r300SwitchFallback(GLcontext *ctx, uint32_t bit, GLboolean mode)
 
                /* update only if we have disabled all tcl fallbacks */
                if (rmesa->options.hw_tcl_enabled) {
-                       if ((old_fallback & R300_RASTER_FALLBACK_MASK) == bit) {
+                       if ((old_fallback & R300_TCL_FALLBACK_MASK) == bit) {
                                R300_STATECHANGE(rmesa, vap_cntl_status);
                                rmesa->hw.vap_cntl_status.cmd[1] &= ~R300_VAP_TCL_BYPASS;
                        }