From 5dbc1aee0da11568583f779bc22a359178b39d0f Mon Sep 17 00:00:00 2001 From: barfowl Date: Thu, 21 May 2015 20:42:29 -0700 Subject: [PATCH] Fixed issue with exampls/farViewer --- examples/farViewer/gl_mesh.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/farViewer/gl_mesh.cpp b/examples/farViewer/gl_mesh.cpp index 0db48f7b..af925052 100644 --- a/examples/farViewer/gl_mesh.cpp +++ b/examples/farViewer/gl_mesh.cpp @@ -269,9 +269,9 @@ GLMesh::initializeBuffers(Options options, OpenSubdiv::Far::TopologyLevel const & refLastLevel = refiner.GetLevel(maxlevel); - int nverts = refLastLevel.GetNumVertices(maxlevel), - nedges = refLastLevel.GetNumEdges(maxlevel), - nfaces = refLastLevel.GetNumFaces(maxlevel), + int nverts = refLastLevel.GetNumVertices(), + nedges = refLastLevel.GetNumEdges(), + nfaces = refLastLevel.GetNumFaces(), firstvert = 0;