summaryrefslogtreecommitdiffstats
path: root/src/glx/x11
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2005-01-28 17:58:58 +0000
committerIan Romanick <[email protected]>2005-01-28 17:58:58 +0000
commit20b8d9c1b927f30390093750af0f4008adbfa5cf (patch)
tree22982182c7d5a5f0b36eb78e6454cbea1138d1b5 /src/glx/x11
parentfdb0527ddce8eb2927631d4fbf38e6625b0af8b1 (diff)
Fix some get / set errors with COLOR_TABLE_*. SCALE and BIAS can be
parameters to GetColorTableParameter[if]v. FORMAT, WIDTH, and the SIZE enums cannot be parameters to ColorTableParameter[if]v.
Diffstat (limited to 'src/glx/x11')
-rw-r--r--src/glx/x11/indirect_size.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/glx/x11/indirect_size.c b/src/glx/x11/indirect_size.c
index ae2b14c6c3a..c21e1ee086f 100644
--- a/src/glx/x11/indirect_size.c
+++ b/src/glx/x11/indirect_size.c
@@ -302,15 +302,6 @@ INTERNAL PURE FASTCALL GLint
__glColorTableParameterfv_size( GLenum e )
{
switch( e ) {
- case GL_COLOR_TABLE_FORMAT:
- case GL_COLOR_TABLE_WIDTH:
- case GL_COLOR_TABLE_RED_SIZE:
- case GL_COLOR_TABLE_GREEN_SIZE:
- case GL_COLOR_TABLE_BLUE_SIZE:
- case GL_COLOR_TABLE_ALPHA_SIZE:
- case GL_COLOR_TABLE_LUMINANCE_SIZE:
- case GL_COLOR_TABLE_INTENSITY_SIZE:
- return 1;
case GL_COLOR_TABLE_SCALE:
case GL_COLOR_TABLE_BIAS:
return 4;