mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-15 08:20:08 +00:00
Fixed simpleCpu draw context construction.
This commit is contained in:
parent
e1dce9f75e
commit
9aa83d9538
@ -385,7 +385,8 @@ createOsdContext(int level)
|
||||
g_farmesh->GetNumVertices());
|
||||
|
||||
g_drawContext =
|
||||
OpenSubdiv::OsdGLDrawContext::Create(g_farmesh->GetPatchTables(), g_vertexBuffer);
|
||||
OpenSubdiv::OsdGLDrawContext::Create(g_farmesh->GetPatchTables(), false);
|
||||
g_drawContext->UpdateVertexTexture(g_vertexBuffer);
|
||||
|
||||
//
|
||||
// Setup camera positioning based on object bounds. This really has nothing
|
||||
|
Loading…
Reference in New Issue
Block a user