X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fglx%2Fvertarr.c;h=066bf59f759a74d687a3c4a8f90745772d94688c;hb=d26d8c5617491bb9ade6db77dd9cb3a1c594ec2e;hp=398cfb1e7965fe6bb4becb0d4a2751bbbafcd3fc;hpb=653a83445f94620673f747a4ace6847a2c7fdb4d;p=mesa.git diff --git a/src/glx/vertarr.c b/src/glx/vertarr.c index 398cfb1e796..066bf59f759 100644 --- a/src/glx/vertarr.c +++ b/src/glx/vertarr.c @@ -32,6 +32,7 @@ #include "indirect.h" #include "indirect_vertex_array.h" +#ifndef GLX_USE_APPLEGL /*****************************************************************************/ @@ -101,7 +102,7 @@ void __indirect_glInterleavedArrays(GLenum format, GLsizei stride, const GLvoid * pointer) { - __GLXcontext *gc = __glXGetCurrentContext(); + struct glx_context *gc = __glXGetCurrentContext(); __GLXattribute *state = (__GLXattribute *) (gc->client_state_private); #define NONE {0, 0, 0} @@ -210,3 +211,5 @@ __indirect_glInterleavedArrays(GLenum format, GLsizei stride, trueStride, (const char *) pointer + offsets[3]); } + +#endif