summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/glide/fxtris.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/glide/fxtris.c')
-rw-r--r--src/mesa/drivers/glide/fxtris.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/mesa/drivers/glide/fxtris.c b/src/mesa/drivers/glide/fxtris.c
index 57a16ee6ea3..89ace65b465 100644
--- a/src/mesa/drivers/glide/fxtris.c
+++ b/src/mesa/drivers/glide/fxtris.c
@@ -646,7 +646,7 @@ static void fxFastRenderClippedPoly( GLcontext *ctx, const GLuint *elts,
-static void fxChooseRenderState(GLcontext *ctx)
+void fxDDChooseRenderState(GLcontext *ctx)
{
TNLcontext *tnl = TNL_CONTEXT(ctx);
fxMesaContext fxMesa = FX_CONTEXT(ctx);
@@ -705,6 +705,7 @@ static void fxChooseRenderState(GLcontext *ctx)
}
}
+
/**********************************************************************/
/* Runtime render state and callbacks */
/**********************************************************************/
@@ -773,7 +774,7 @@ void fxCheckIsInHardware( GLcontext *ctx )
GLuint oldfallback = !fxMesa->is_in_hardware;
GLuint newfallback;
- fxMesa->is_in_hardware = check_IsInHardware( ctx );
+ fxMesa->is_in_hardware = fx_check_IsInHardware( ctx );
newfallback = !fxMesa->is_in_hardware;
if (newfallback) {
@@ -794,12 +795,15 @@ void fxCheckIsInHardware( GLcontext *ctx )
tnl->Driver.Render.ResetLineStipple = _swrast_ResetLineStipple;
tnl->Driver.Render.BuildVertices = fxBuildVertices;
tnl->Driver.Render.Multipass = 0;
+#if 000
fxDDChooseSetupState(ctx);
+#endif
fxDDChooseRenderState(ctx);
}
}
}
+#if 00
void fxDDInitTriFuncs( GLcontext *ctx )
{
TNLcontext *tnl = TNL_CONTEXT(ctx);
@@ -824,6 +828,8 @@ void fxDDInitTriFuncs( GLcontext *ctx )
(void) fx_print_vertex;
}
+#endif
+
#else