diff options
Diffstat (limited to 'xorg-server/glx/render2swap.c')
-rw-r--r-- | xorg-server/glx/render2swap.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xorg-server/glx/render2swap.c b/xorg-server/glx/render2swap.c index 8b5d9daff..435fa26ad 100644 --- a/xorg-server/glx/render2swap.c +++ b/xorg-server/glx/render2swap.c @@ -31,6 +31,7 @@ #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif +#include "glheader.h" #include "glxserver.h" #include "unpack.h" @@ -364,12 +365,12 @@ __glXDispSwap_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; |