Explorar el Código

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 hace 13 años
padre
commit
c69e487dfc
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/gpu/vertexbuffer.cpp

+ 1
- 1
src/gpu/vertexbuffer.cpp Ver fichero

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


Cargando…
Cancelar
Guardar