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
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue