Qt: Fix bug that draws two UIs on USING_GLES2 and not MOBILE_DEVICE

This commit is contained in:
Sacha
2014-06-17 23:45:04 +10:00
parent a3e23f0ac6
commit 1509ddd2ba
+1 -1
View File
@@ -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();