diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2001-03-19 02:25:35 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2001-03-19 02:25:35 +0000 |
commit | 709892459922a32096fe9dd8261d0d92337bb02f (patch) | |
tree | 87782215d4531207c97b236a5dfa0d15c45aef8a /src/mesa/drivers/glide/fxvb.c | |
parent | d9bf6ccce9f5fea22d6a478c4afafea3c3c525c5 (diff) |
Split driver struct into swrast/tnl/core components.
Diffstat (limited to 'src/mesa/drivers/glide/fxvb.c')
-rw-r--r-- | src/mesa/drivers/glide/fxvb.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mesa/drivers/glide/fxvb.c b/src/mesa/drivers/glide/fxvb.c index 40acbb7e9e..470ee748bb 100644 --- a/src/mesa/drivers/glide/fxvb.c +++ b/src/mesa/drivers/glide/fxvb.c @@ -290,10 +290,11 @@ void fx_validate_BuildProjVerts(GLcontext * ctx, GLuint start, GLuint count, GLuint newinputs) { + TNLcontext *tnl = TNL_CONTEXT(ctx); fxMesaContext fxMesa = (fxMesaContext) ctx->DriverCtx; if (!fxMesa->is_in_hardware) - ctx->Driver.BuildProjectedVertices = _swsetup_BuildProjectedVertices; + tnl->Driver.BuildProjectedVertices = _swsetup_BuildProjectedVertices; else { GLuint setupindex = SETUP_XYZW; @@ -329,9 +330,9 @@ fx_validate_BuildProjVerts(GLcontext * ctx, GLuint start, GLuint count, fxPrintSetupFlags("fxmesa: vertex setup function", setupindex); fxMesa->setupindex = setupindex; - ctx->Driver.BuildProjectedVertices = fx_BuildProjVerts; + tnl->Driver.BuildProjectedVertices = fx_BuildProjVerts; } - ctx->Driver.BuildProjectedVertices(ctx, start, count, newinputs); + tnl->Driver.BuildProjectedVertices(ctx, start, count, newinputs); } |