Ensure the debug HUD won't crash if settings are changed at runtime.

This commit is contained in:
AnyOldName3 2018-02-26 20:50:54 +00:00
parent 7b52091a82
commit 478367bef3
2 changed files with 26 additions and 15 deletions

View file

@ -244,6 +244,8 @@ namespace SceneUtil {
virtual void releaseGLObjects(osg::State* state = 0) const;
protected:
virtual void addAnotherShadowMap();
static const int sDebugTextureUnit;
std::vector<osg::ref_ptr<osg::Camera>> mDebugCameras;