浏览代码

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 年前
父节点
当前提交
c69e487dfc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/gpu/vertexbuffer.cpp

+ 1
- 1
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


正在加载...
取消
保存