Fixed iOS build

This commit is contained in:
David G Yu 2013-12-15 23:39:32 -08:00
parent bb13047db2
commit 8990d5712f
2 changed files with 2 additions and 2 deletions

View File

@ -278,7 +278,7 @@ find_package(PythonInterp 2.6)
find_package(SWIG 1.3.40)
find_package(Doxygen 1.8.4)
find_package(Docutils 0.6)
if (OPENGL_FOUND)
if (OPENGL_FOUND AND NOT IOS)
if (APPLE)
find_package(GLEW)
else()

View File

@ -202,9 +202,9 @@ OsdGLDrawContext::create(FarPatchTables const * patchTables, bool requireFVarDat
if (requireFVarData and not fvarTables.empty())
_fvarDataTextureBuffer = createTextureBuffer(fvarTables, GL_R32F);
#endif
glBindBuffer(GL_TEXTURE_BUFFER, 0);
#endif
return true;
}