From: Brian Paul Date: Mon, 28 Feb 2000 20:38:37 +0000 (+0000) Subject: added proxy texture targets to GetColorTableParameter (Steven Fuller) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aae9db03e43c36d164a86e2b512202ac510b8084;p=mesa.git added proxy texture targets to GetColorTableParameter (Steven Fuller) --- 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;