From 2c8ecfbbaa8969f7e9bcb8fd3cc5b331540b31bf Mon Sep 17 00:00:00 2001 From: Yuri Kunde Schlesner Date: Sat, 23 Aug 2014 01:45:05 -0300 Subject: [PATCH] Actually pass QGLFormat to QGLWidget GGLWidgetInternal wasn't passing the format it received to the parent constructor, meaning the format wasn't used at all. This make the Qt UI properly initialize a 3.2 context. --- src/citra_qt/bootmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/citra_qt/bootmanager.cpp b/src/citra_qt/bootmanager.cpp index 8b6c5fb72..0c34dc7ed 100644 --- a/src/citra_qt/bootmanager.cpp +++ b/src/citra_qt/bootmanager.cpp @@ -77,7 +77,7 @@ void EmuThread::Stop() class GGLWidgetInternal : public QGLWidget { public: - GGLWidgetInternal(QGLFormat fmt, GRenderWindow* parent) : QGLWidget(parent) + GGLWidgetInternal(QGLFormat fmt, GRenderWindow* parent) : QGLWidget(fmt, parent) { parent_ = parent; }