Preserve max texture size when restart
This commit is contained in:
parent
597461d680
commit
1cc8371ac5
@ -943,6 +943,7 @@ void IrrDriver::applyResolutionSettings()
|
||||
// Re-init GUI engine
|
||||
GUIEngine::init(m_device, m_video_driver, StateManager::get());
|
||||
|
||||
setMaxTextureSize();
|
||||
//material_manager->reInit();
|
||||
material_manager = new MaterialManager();
|
||||
material_manager->loadMaterial();
|
||||
|
Loading…
x
Reference in New Issue
Block a user