summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 4fcfaa081..fef51e24f 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -96,6 +96,7 @@
#include "resources/petdb.h"
#include "resources/resourcemanager.h"
+#include "utils/cpu.h"
#include "utils/gettext.h"
#include "utils/mkdir.h"
#include "utils/paths.h"
@@ -589,6 +590,7 @@ void Client::gameInit()
ImageHelper::setEnableAlpha(config.getFloatValue("guialpha") != 1.0f);
#endif
logVars();
+ Cpu::detect();
graphicsManager.initGraphics(mOptions.noOpenGL);
graphicsManager.detectPixelSize();
runCounters = config.getBoolValue("packetcounters");