From 04ec0fd71e3ba758e0ddc950ec68c3af4c58b1ab Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 29 Aug 2001 03:58:42 +0000 Subject: changes to allow the driver to compile - still doesn't work though --- src/mesa/drivers/glide/fxtris.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/mesa/drivers/glide/fxtris.c') 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 -- cgit v1.2.3