Bläddra i källkod

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 13 år sedan
förälder
incheckning
c69e487dfc
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. +1
    -1
      src/gpu/vertexbuffer.cpp

+ 1
- 1
src/gpu/vertexbuffer.cpp Visa fil

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


Laddar…
Avbryt
Spara