summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralanh <alanh>2000-11-30 12:27:43 +0000
committeralanh <alanh>2000-11-30 12:27:43 +0000
commit841bef4a6c8026d6f3ffbcde5a892b127b797236 (patch)
treebf4cd46e391823750485b66db34abd1279038f37
parentf9b699c8e6e49f2fe38be80cb904bd9b2f6a089a (diff)
update RawVB when Toggling cliprects.
-rw-r--r--xc/lib/GL/mesa/src/drv/tdfx/tdfx_tris.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xc/lib/GL/mesa/src/drv/tdfx/tdfx_tris.c b/xc/lib/GL/mesa/src/drv/tdfx/tdfx_tris.c
index f127a84ce..c4256f157 100644
--- a/xc/lib/GL/mesa/src/drv/tdfx/tdfx_tris.c
+++ b/xc/lib/GL/mesa/src/drv/tdfx/tdfx_tris.c
@@ -403,6 +403,9 @@ void tdfxDDToggleTriCliprects( GLcontext *ctx )
if (ctx->Driver.PointsFunc == rast_tab[oldidx].points)
ctx->Driver.PointsFunc = rast_tab[newidx].points;
+ if (ctx->Driver.RenderVBRawTab == rast_tab[oldidx].render_tab)
+ ctx->Driver.RenderVBRawTab = rast_tab[newidx].render_tab;
+
if (ctx->TriangleFunc == rast_tab[oldidx].triangle)
ctx->TriangleFunc = rast_tab[newidx].triangle;