mirror of
https://github.com/glest/glest-source.git
synced 2025-08-20 07:01:21 +02:00
Removed call to reload textures when pressing alt-enter as it simply doesn't work in win32.
This commit is contained in:
@@ -210,9 +210,9 @@ void MainWindow::eventKeyDown(char key){
|
|||||||
if(keystate.mod & (KMOD_LALT | KMOD_RALT)) {
|
if(keystate.mod & (KMOD_LALT | KMOD_RALT)) {
|
||||||
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d] ALT-ENTER pressed\n",__FILE__,__FUNCTION__,__LINE__);
|
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d] ALT-ENTER pressed\n",__FILE__,__FUNCTION__,__LINE__);
|
||||||
|
|
||||||
Renderer &renderer= Renderer::getInstance();
|
//Renderer &renderer= Renderer::getInstance();
|
||||||
//renderer.reloadResources();
|
//renderer.reloadResources();
|
||||||
renderer.reinitAll();
|
//renderer.reinitAll();
|
||||||
|
|
||||||
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
|
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user