Commit 800a6a50 authored by Anakin's avatar Anakin

doesn't work for ggctuk since i use ogl 2.0 instead of 4.5

trying to figure out the problem
parent 94a2fa59
......@@ -36,9 +36,6 @@ MainWindow::MainWindow(QWidget *parent)
// setup opengl things
QSurfaceFormat format;
format.setDepthBufferSize(24);
format.setMajorVersion(2);
format.setMinorVersion(0);
format.setProfile(QSurfaceFormat::NoProfile);
QSurfaceFormat::setDefaultFormat(format);
// set default text to file info
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment