aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/glx/render2.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/glx/render2.c')
-rw-r--r--xorg-server/glx/render2.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/xorg-server/glx/render2.c b/xorg-server/glx/render2.c
index 8cf74a691..01e33d5c9 100644
--- a/xorg-server/glx/render2.c
+++ b/xorg-server/glx/render2.c
@@ -31,6 +31,7 @@
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
+#include "glheader.h"
#include <glxserver.h>
#include "unpack.h"
@@ -242,12 +243,12 @@ __glXDisp_DrawArrays(GLbyte * pc)
break;
case GL_SECONDARY_COLOR_ARRAY:
CALL_EnableClientState(GET_DISPATCH(), (GL_SECONDARY_COLOR_ARRAY));
- CALL_SecondaryColorPointerEXT(GET_DISPATCH(),
+ CALL_SecondaryColorPointer(GET_DISPATCH(),
(numVals, datatype, stride, pc));
break;
case GL_FOG_COORD_ARRAY:
CALL_EnableClientState(GET_DISPATCH(), (GL_FOG_COORD_ARRAY));
- CALL_FogCoordPointerEXT(GET_DISPATCH(), (datatype, stride, pc));
+ CALL_FogCoordPointer(GET_DISPATCH(), (datatype, stride, pc));
break;
default:
break;