Fixed build error

This commit is contained in:
Robert Osfield 2018-03-07 16:45:58 +00:00
parent 98cdeac9f6
commit 178cba7cf0

View File

@ -66,8 +66,8 @@ bool wxOsgApp::OnInit()
viewer->getCamera()->setViewport(0,0,width,height);
// set the draw and read buffers up for a double buffered window with rendering going to back buffer
viewer.getCamera()->setDrawBuffer(GL_BACK);
viewer.getCamera()->setReadBuffer(GL_BACK);
viewer->getCamera()->setDrawBuffer(GL_BACK);
viewer->getCamera()->setReadBuffer(GL_BACK);
viewer->addEventHandler(new osgViewer::StatsHandler);
viewer->setThreadingModel(osgViewer::Viewer::SingleThreaded);