summaryrefslogtreecommitdiffstats
path: root/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'src/app')
-rw-r--r--src/app/app.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/app/app.cpp b/src/app/app.cpp
index 79ccdbf..81d874d 100644
--- a/src/app/app.cpp
+++ b/src/app/app.cpp
@@ -873,6 +873,14 @@ Event CApplication::ProcessSystemEvent()
{
event.type = EVENT_QUIT;
}
+ /*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) )
{