mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2025-01-11 17:10:08 +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(SWIG 1.3.40)
|
||||||
find_package(Doxygen 1.8.4)
|
find_package(Doxygen 1.8.4)
|
||||||
find_package(Docutils 0.6)
|
find_package(Docutils 0.6)
|
||||||
if (OPENGL_FOUND)
|
if (OPENGL_FOUND AND NOT IOS)
|
||||||
if (APPLE)
|
if (APPLE)
|
||||||
find_package(GLEW)
|
find_package(GLEW)
|
||||||
else()
|
else()
|
||||||
|
@ -202,9 +202,9 @@ OsdGLDrawContext::create(FarPatchTables const * patchTables, bool requireFVarDat
|
|||||||
|
|
||||||
if (requireFVarData and not fvarTables.empty())
|
if (requireFVarData and not fvarTables.empty())
|
||||||
_fvarDataTextureBuffer = createTextureBuffer(fvarTables, GL_R32F);
|
_fvarDataTextureBuffer = createTextureBuffer(fvarTables, GL_R32F);
|
||||||
#endif
|
|
||||||
|
|
||||||
glBindBuffer(GL_TEXTURE_BUFFER, 0);
|
glBindBuffer(GL_TEXTURE_BUFFER, 0);
|
||||||
|
#endif
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user