diff options
-rw-r--r-- | src/mesa/main/colortab.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/mesa/main/colortab.c b/src/mesa/main/colortab.c index f190beaf36b..713e7c66202 100644 --- a/src/mesa/main/colortab.c +++ b/src/mesa/main/colortab.c @@ -1,4 +1,4 @@ -/* $Id: colortab.c,v 1.8 2000/02/24 22:04:03 brianp Exp $ */ +/* $Id: colortab.c,v 1.9 2000/02/28 20:38:37 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -409,6 +409,15 @@ _mesa_GetColorTableParameteriv( GLenum target, GLenum pname, GLint *params ) case GL_TEXTURE_3D: palette = &texUnit->CurrentD[3]->Palette; break; + case GL_PROXY_TEXTURE_1D: + palette = &ctx->Texture.Proxy1D->Palette; + break; + case GL_PROXY_TEXTURE_2D: + palette = &ctx->Texture.Proxy2D->Palette; + break; + case GL_PROXY_TEXTURE_3D: + palette = &ctx->Texture.Proxy3D->Palette; + break; case GL_SHARED_TEXTURE_PALETTE_EXT: palette = &ctx->Texture.Palette; break; |