Working on HMD crash on mac

This commit is contained in:
Bradley Austin Davis 2015-08-04 15:18:01 -07:00
parent a2536c75f4
commit 241ee00ca5

View file

@ -10,7 +10,6 @@ QSurfaceFormat getDefaultOpenGlSurfaceFormat() {
#ifdef DEBUG
format.setOption(QSurfaceFormat::DebugContext);
#endif
// FIXME move to core as soon as possible
format.setProfile(QSurfaceFormat::OpenGLContextProfile::CompatibilityProfile);
format.setProfile(QSurfaceFormat::OpenGLContextProfile::CoreProfile);
return format;
}