Browse Source

gpu: do not use GLEW on OS X until we are sure that the version we detected

will not try to use X11.
legacy
Sam Hocevar sam 12 years ago
parent
commit
c69e487dfc
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/gpu/vertexbuffer.cpp

+ 1
- 1
src/gpu/vertexbuffer.cpp View File

@@ -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


Loading…
Cancel
Save