From 1509ddd2ba714da273576690e08449428549c4e9 Mon Sep 17 00:00:00 2001 From: Sacha Date: Tue, 17 Jun 2014 23:45:04 +1000 Subject: [PATCH] Qt: Fix bug that draws two UIs on USING_GLES2 and not MOBILE_DEVICE --- base/QtMain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/QtMain.cpp b/base/QtMain.cpp index 0094ab070c..ac5abab2a6 100644 --- a/base/QtMain.cpp +++ b/base/QtMain.cpp @@ -109,7 +109,7 @@ float CalculateDPIScale() static int mainInternal(QApplication &a) { -#ifdef USING_GLES2 +#ifdef MOBILE_DEVICE emugl = new MainUI(); emugl->resize(pixel_xres, pixel_yres); emugl->showFullScreen();