Preserve max texture size when restart

This commit is contained in:
Benau 2017-01-08 22:02:04 +08:00 committed by GitHub
parent 597461d680
commit 1cc8371ac5

View File

@ -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();