From d1942e1216768d41bc747a79287962a76a3aeb75 Mon Sep 17 00:00:00 2001 From: Piotr Dziwinski Date: Fri, 4 Jan 2013 00:29:19 +0100 Subject: Correct font scaling with resolution --- src/app/app.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/app/app.cpp') 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) ) { -- cgit v1.2.3-1-g7c22