Paging example now uses the new example OpenGLWidget.

This commit is contained in:
David Williams
2014-05-25 21:03:52 +02:00
parent eb39f0bb4c
commit e80c88a5ec
4 changed files with 2 additions and 205 deletions

View File

@ -190,7 +190,7 @@ int main(int argc, char *argv[])
std::cout << "#vertices: " << mesh.getNoOfVertices() << std::endl;
//Pass the surface to the OpenGL window
openGLWidget.setMeshToRender(mesh);
openGLWidget.addMesh(mesh);
//Run the message pump.
return app.exec();