mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-12-24 00:40:33 +00:00
Fixed iOS build
This commit is contained in:
parent
bb13047db2
commit
8990d5712f
@ -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()
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user