From 161ba476f34117a2fcd4a8f45ad7bceea68b84f8 Mon Sep 17 00:00:00 2001
From: BogDan Vatra <bogdan@kde.org>
Date: Tue, 27 Jan 2015 14:28:43 +0200
Subject: [PATCH 4/6] Scale the GUI on Android.
---
source/ps/GameSetup/Config.cpp | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/source/ps/GameSetup/Config.cpp b/source/ps/GameSetup/Config.cpp
index 8743b4f..26f3a7f 100644
a
|
b
|
float g_Gamma = 1.0f;
|
57 | 57 | CStr g_RenderPath = "default"; |
58 | 58 | |
59 | 59 | int g_xres, g_yres; |
| 60 | #ifdef OS_ANDROID |
| 61 | #warning FIXME HACK, Andriod has enough info to compute this variable |
| 62 | float g_GuiScale = 0.5f; |
| 63 | #else |
60 | 64 | float g_GuiScale = 1.0f; |
| 65 | #endif |
61 | 66 | bool g_VSync = false; |
62 | 67 | |
63 | 68 | bool g_Quickstart = false; |