doesn't work for ggctuk since i use ogl 2.0 instead of 4.5
trying to figure out the problem
This commit is contained in:
parent
94a2fa59ec
commit
800a6a50f8
|
@ -36,9 +36,6 @@ MainWindow::MainWindow(QWidget *parent)
|
||||||
// setup opengl things
|
// setup opengl things
|
||||||
QSurfaceFormat format;
|
QSurfaceFormat format;
|
||||||
format.setDepthBufferSize(24);
|
format.setDepthBufferSize(24);
|
||||||
format.setMajorVersion(2);
|
|
||||||
format.setMinorVersion(0);
|
|
||||||
format.setProfile(QSurfaceFormat::NoProfile);
|
|
||||||
QSurfaceFormat::setDefaultFormat(format);
|
QSurfaceFormat::setDefaultFormat(format);
|
||||||
|
|
||||||
// set default text to file info
|
// set default text to file info
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue