summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoridr <idr>2004-01-19 21:54:06 +0000
committeridr <idr>2004-01-19 21:54:06 +0000
commit5e4acdbdf66f59ea7230675b0282cf9eba503f81 (patch)
tree72c7a674c97b9250dd48b088c14121f029c0b67b
parent5730a6e6b43de954d401f4255fa613f3176abcfc (diff)
Two small things that I didn't catch in the previous commit.
XFree86 bug: 1091
-rw-r--r--xc/programs/Xserver/GL/glx/g_render.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xc/programs/Xserver/GL/glx/g_render.c b/xc/programs/Xserver/GL/glx/g_render.c
index 26342c39b..2f5ff919b 100644
--- a/xc/programs/Xserver/GL/glx/g_render.c
+++ b/xc/programs/Xserver/GL/glx/g_render.c
@@ -71,6 +71,7 @@ void __glXDisp_Begin(GLbyte *pc)
#define __GLX_SWAP_GLbyte_ARRAY(ptr,count) (void) swapEnd; (void) swapPC; (void) sw;
#define __GLX_SWAP_GLshort_ARRAY(ptr,count) __GLX_SWAP_SHORT_ARRAY(ptr,count)
#define __GLX_SWAP_GLint_ARRAY(ptr,count) __GLX_SWAP_INT_ARRAY(ptr,count)
+#define __GLX_SWAP_GLenum_ARRAY(ptr,count) __GLX_SWAP_INT_ARRAY(ptr,count)
#define __GLX_SWAP_GLubyte_ARRAY(ptr,count) (void) swapEnd; (void) swapPC; (void) sw;
#define __GLX_SWAP_GLushort_ARRAY(ptr,count) __GLX_SWAP_SHORT_ARRAY(ptr,count)
#define __GLX_SWAP_GLuint_ARRAY(ptr,count) __GLX_SWAP_INT_ARRAY(ptr,count)
@@ -200,7 +201,7 @@ dispatch_template_3( SecondaryColor3ubv, GLubyte )
dispatch_template_3( SecondaryColor3usv, GLushort )
dispatch_template_3( SecondaryColor3uiv, GLuint )
dispatch_template_3( SecondaryColor3fv, GLfloat )
-dispatch_template_3( SecondaryColor3dfv, GLdouble )
+dispatch_template_3( SecondaryColor3dv, GLdouble )
dispatch_template_4s( BlendFuncSeparate, GLenum )