From c69e487dfc3e1b87a2de8b8ebfea25f48681de30 Mon Sep 17 00:00:00 2001 From: Sam Hocevar <sam@hocevar.net> Date: Tue, 18 Sep 2012 09:22:32 +0000 Subject: [PATCH] gpu: do not use GLEW on OS X until we are sure that the version we detected will not try to use X11. --- src/gpu/vertexbuffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gpu/vertexbuffer.cpp b/src/gpu/vertexbuffer.cpp index 745a10f5..a3a75bb5 100644 --- a/src/gpu/vertexbuffer.cpp +++ b/src/gpu/vertexbuffer.cpp @@ -397,7 +397,7 @@ void VertexDeclaration::SetStream(VertexBuffer *vb, ShaderAttrib attr1, || tlut[type_index].type == GL_DOUBLE || tlut[type_index].type == GL_BYTE || tlut[type_index].type == GL_UNSIGNED_BYTE -# if defined USE_GLEW +# if defined USE_GLEW && !defined __APPLE__ /* If this is not available, don't use it */ || !glVertexAttribIPointer # endif