summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/glide/fxtris.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2001-08-29 03:58:42 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2001-08-29 03:58:42 +0000
commit04ec0fd71e3ba758e0ddc950ec68c3af4c58b1ab (patch)
tree8e2bd27c2366d62704a56d06312b38235ec0d73f /src/mesa/drivers/glide/fxtris.c
parenta0037ad8b38e25bdb16e64e4da6e5c75cc66a9cd (diff)
changes to allow the driver to compile - still doesn't work though
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 57a16ee6ea..89ace65b46 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