Improved clarity and whitespace

Changed QGL version to 3,2 in order to be less restrictive, yet it should still change up to 4,1 on OSX on Qt5.
This commit is contained in:
archshift 2014-05-19 15:21:55 -07:00
parent 403e4bf837
commit 034e3aabc8
4 changed files with 6 additions and 4 deletions

View file

@ -104,7 +104,7 @@ GRenderWindow::GRenderWindow(QWidget* parent) : QWidget(parent), emu_thread(this
// TODO: One of these flags might be interesting: WA_OpaquePaintEvent, WA_NoBackground, WA_DontShowOnScreen, WA_DeleteOnClose
QGLFormat fmt;
fmt.setProfile(QGLFormat::CoreProfile);
fmt.setVersion(4,1);
fmt.setVersion(3,2);
fmt.setSampleBuffers(true);
fmt.setSamples(4);