mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 11:37:58 +02:00
Working on HMD crash on mac
This commit is contained in:
parent
a2536c75f4
commit
241ee00ca5
1 changed files with 1 additions and 2 deletions
|
@ -10,7 +10,6 @@ QSurfaceFormat getDefaultOpenGlSurfaceFormat() {
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
format.setOption(QSurfaceFormat::DebugContext);
|
format.setOption(QSurfaceFormat::DebugContext);
|
||||||
#endif
|
#endif
|
||||||
// FIXME move to core as soon as possible
|
format.setProfile(QSurfaceFormat::OpenGLContextProfile::CoreProfile);
|
||||||
format.setProfile(QSurfaceFormat::OpenGLContextProfile::CompatibilityProfile);
|
|
||||||
return format;
|
return format;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue