mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
Ensure the debug HUD won't crash if settings are changed at runtime.
This commit is contained in:
parent
7b52091a82
commit
478367bef3
2 changed files with 26 additions and 15 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue