Fixed build error
This commit is contained in:
parent
98cdeac9f6
commit
178cba7cf0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user