From 3c160ecb5a848d67e2be5a165ae3a81ff8401fae Mon Sep 17 00:00:00 2001 From: Sacha Date: Wed, 20 Mar 2013 08:49:50 +1000 Subject: [PATCH] Only run the UI on X11 for now until threads issue is resolved. --- base/QtMain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/QtMain.cpp b/base/QtMain.cpp index c103f02457..907aed1309 100644 --- a/base/QtMain.cpp +++ b/base/QtMain.cpp @@ -75,7 +75,7 @@ int main(int argc, char *argv[]) #endif NativeInit(argc, (const char **)argv, savegame_dir, QDir::tempPath().toStdString().c_str(), "BADCOFFEE"); -#if defined(USING_GLES2) +#ifndef Q_WS_X11 MainUI w(dpi_scale); w.setAttribute(Qt::WA_LockLandscapeOrientation); w.resize(pixel_xres, pixel_yres);