diff options
author | Piotr Dziwinski <piotrdz@gmail.com> | 2012-09-30 11:26:59 +0200 |
---|---|---|
committer | Piotr Dziwinski <piotrdz@gmail.com> | 2012-09-30 11:26:59 +0200 |
commit | 85d253b094555b969dccffe7d34345b0969c59df (patch) | |
tree | de9fec3fa82dbe49c225ef4118e1c53726cab7e1 /src/app/app.cpp | |
parent | 8ea4736a46f1a468ee214528ba539e1f505b8273 (diff) | |
download | colobot-85d253b094555b969dccffe7d34345b0969c59df.tar.gz colobot-85d253b094555b969dccffe7d34345b0969c59df.tar.bz2 colobot-85d253b094555b969dccffe7d34345b0969c59df.zip |
Fixed bugs in texture coloring
Diffstat (limited to 'src/app/app.cpp')
-rw-r--r-- | src/app/app.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app/app.cpp b/src/app/app.cpp index 02da897..187219e 100644 --- a/src/app/app.cpp +++ b/src/app/app.cpp @@ -873,14 +873,14 @@ Event CApplication::ProcessSystemEvent() { event.type = EVENT_QUIT; } - else if (m_private->currentEvent.type == SDL_VIDEORESIZE) + /*else if (m_private->currentEvent.type == SDL_VIDEORESIZE) { Gfx::GLDeviceConfig newConfig = m_deviceConfig; newConfig.size.x = m_private->currentEvent.resize.w; newConfig.size.y = m_private->currentEvent.resize.h; if (newConfig.size != m_deviceConfig.size) ChangeVideoConfig(newConfig); - } + }*/ else if ( (m_private->currentEvent.type == SDL_KEYDOWN) || (m_private->currentEvent.type == SDL_KEYUP) ) { |