summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-30 22:32:38 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-01 17:27:14 +0300
commit097b17e588ed430482fa1e5e4938618db838e468 (patch)
treeadb9f3122b1e5fac635e439c722ed983ae36d289 /src/client.cpp
parent1889feb70ddd6d1eaa33da7584ecd20955f94f5c (diff)
downloadplus-097b17e588ed430482fa1e5e4938618db838e468.tar.gz
plus-097b17e588ed430482fa1e5e4938618db838e468.tar.bz2
plus-097b17e588ed430482fa1e5e4938618db838e468.tar.xz
plus-097b17e588ed430482fa1e5e4938618db838e468.zip
add pixel size detection fo X11 and windows.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index e1b92733c..45fb3a5ad 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -585,6 +585,7 @@ void Client::gameInit()
#endif
logVars();
graphicsManager.initGraphics(mOptions.noOpenGL);
+ graphicsManager.detectPixelSize();
runCounters = config.getBoolValue("packetcounters");
applyVSync();
graphicsManager.setVideoMode();