Drop unused dependency of SceneManager on GUIEnvironment

This commit is contained in:
numzero
2023-03-14 18:25:05 +03:00
committed by sfan5
parent 5a1565072a
commit 0160cdc51d
5 changed files with 8 additions and 35 deletions

View File

@ -32,8 +32,7 @@ namespace scene
//! constructor
CSceneManager(video::IVideoDriver* driver, io::IFileSystem* fs,
gui::ICursorControl* cursorControl, IMeshCache* cache = 0,
gui::IGUIEnvironment *guiEnvironment = 0);
gui::ICursorControl* cursorControl, IMeshCache* cache = nullptr);
//! destructor
virtual ~CSceneManager();
@ -50,9 +49,6 @@ namespace scene
//! returns the video driver
video::IVideoDriver* getVideoDriver() override;
//! return the gui environment
gui::IGUIEnvironment* getGUIEnvironment() override;
//! return the filesystem
io::IFileSystem* getFileSystem() override;
@ -285,9 +281,6 @@ namespace scene
//! file system
io::IFileSystem* FileSystem;
//! GUI Enviroment ( Debug Purpose )
gui::IGUIEnvironment* GUIEnvironment;
//! cursor control
gui::ICursorControl* CursorControl;