diff options
author | Brian Paul <[email protected]> | 2001-08-29 03:58:42 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2001-08-29 03:58:42 +0000 |
commit | 04ec0fd71e3ba758e0ddc950ec68c3af4c58b1ab (patch) | |
tree | 8e2bd27c2366d62704a56d06312b38235ec0d73f /src/mesa/drivers/glide/fxtris.c | |
parent | a0037ad8b38e25bdb16e64e4da6e5c75cc66a9cd (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.c | 10 |
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 |