From aae9db03e43c36d164a86e2b512202ac510b8084 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 28 Feb 2000 20:38:37 +0000 Subject: added proxy texture targets to GetColorTableParameter (Steven Fuller) --- src/mesa/main/colortab.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/mesa') 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; -- cgit v1.2.3