diff options
author | Brian Paul <[email protected]> | 2000-03-07 18:24:49 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-03-07 18:24:49 +0000 |
commit | fca17350b630ce26e2335ffb29d58c9bf897accb (patch) | |
tree | 51a34a7712f4421f0d563cc24e20c3895ede586f /src/mesa/drivers/glide | |
parent | 7a7ca3f345361d26a56de767fc63a1f2d2934ea8 (diff) |
removed Driver.UseGlobalTexturePalette()
Diffstat (limited to 'src/mesa/drivers/glide')
-rw-r--r-- | src/mesa/drivers/glide/fxdd.c | 1 | ||||
-rw-r--r-- | src/mesa/drivers/glide/fxsetup.c | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/drivers/glide/fxdd.c b/src/mesa/drivers/glide/fxdd.c index bc1e55a5fff..be48efd0c92 100644 --- a/src/mesa/drivers/glide/fxdd.c +++ b/src/mesa/drivers/glide/fxdd.c @@ -990,7 +990,6 @@ void fxSetupDDPointers(GLcontext *ctx) ctx->Driver.BindTexture=fxDDTexBind; ctx->Driver.DeleteTexture=fxDDTexDel; ctx->Driver.UpdateTexturePalette=fxDDTexPalette; - ctx->Driver.UseGlobalTexturePalette=fxDDTexUseGlbPalette; ctx->Driver.RectFunc=NULL; diff --git a/src/mesa/drivers/glide/fxsetup.c b/src/mesa/drivers/glide/fxsetup.c index d19080393d9..7d4340d4ff3 100644 --- a/src/mesa/drivers/glide/fxsetup.c +++ b/src/mesa/drivers/glide/fxsetup.c @@ -1615,6 +1615,9 @@ void fxDDEnable(GLcontext *ctx, GLenum cap, GLboolean state) fxMesa->new_state |= FX_NEW_SCISSOR; ctx->Driver.RenderStart = fxSetupFXUnits; break; + case GL_SHARED_TEXTURE_PALETTE_EXT: + fxDDTexUseGlbPalette(ctx, state); + break; case GL_FOG: fxMesa->new_state |= FX_NEW_FOG; ctx->Driver.RenderStart = fxSetupFXUnits; |