Fixed simpleCpu draw context construction.

This commit is contained in:
David G Yu 2013-05-20 11:58:34 -07:00
parent e1dce9f75e
commit 9aa83d9538

View File

@ -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