mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-27 01:10:07 +00:00
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.
This commit is contained in:
parent
3c150c4bdb
commit
2c8ecfbbaa
@ -77,7 +77,7 @@ void EmuThread::Stop()
|
|||||||
class GGLWidgetInternal : public QGLWidget
|
class GGLWidgetInternal : public QGLWidget
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
GGLWidgetInternal(QGLFormat fmt, GRenderWindow* parent) : QGLWidget(parent)
|
GGLWidgetInternal(QGLFormat fmt, GRenderWindow* parent) : QGLWidget(fmt, parent)
|
||||||
{
|
{
|
||||||
parent_ = parent;
|
parent_ = parent;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user