Merge pull request #5501 from jherico/lisa

CORE PROFILE: Working on HMD crash on mac
This commit is contained in:
samcake 2015-08-04 16:27:37 -07:00
commit 59b69be251

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;
}