bjornblissing / osgoculusviewer

An OsgViewer with support for the Oculus Rift
Other
106 stars 67 forks source link

Errors when compiling against OpenSceneGraph 3.4.0 #53

Closed bjornblissing closed 9 years ago

bjornblissing commented 9 years ago

osg::FboExtensions do not exist in osg 3.4.0. Instead the FBO calls are made using osg::GLExtensions.

The call: const osg::FBOExtensions* fbo_ext = osg::FBOExtensions::instance(ctx, true);

Will have to be replaced with: const osg::GLExtensions* fbo_ext = state.get<osg::GLExtensions>();