summaryrefslogtreecommitdiffstats
path: root/src/app
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2013-01-04 00:29:19 +0100
committerPiotr Dziwinski <piotrdz@gmail.com>2013-01-04 00:29:19 +0100
commitd1942e1216768d41bc747a79287962a76a3aeb75 (patch)
tree0ec2ebdb68f9fbfec5301142e7da78ad26585c7b /src/app
parent89a3f586a224328b430ba2483ce5c12b33709c6a (diff)
downloadcolobot-d1942e1216768d41bc747a79287962a76a3aeb75.tar.gz
colobot-d1942e1216768d41bc747a79287962a76a3aeb75.tar.bz2
colobot-d1942e1216768d41bc747a79287962a76a3aeb75.zip
Correct font scaling with resolution
Diffstat (limited to 'src/app')
-rw-r--r--src/app/app.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app/app.cpp b/src/app/app.cpp
index 2155cf4..4c66e24 100644
--- a/src/app/app.cpp
+++ b/src/app/app.cpp
@@ -903,14 +903,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) )
{