mirror of
https://github.com/yuzu-mirror/yuzu
synced 2024-12-19 09:43:09 +00:00
yuzu/bootmanager: Explicitly enable deprecated OpenGL features on compat
Nvidia's proprietary driver creates a real OpenGL compatibility profile without this option, meanwhile Intel (and probably AMD, I haven't tested it) require that QSurfaceFormat::FormatOption::DeprecatedFunctions is explicitly enabled.
This commit is contained in:
parent
c4d549919f
commit
e6c60b419c
1 changed files with 1 additions and 0 deletions
|
@ -379,6 +379,7 @@ void GRenderWindow::InitRenderTarget() {
|
||||||
fmt.setVersion(4, 3);
|
fmt.setVersion(4, 3);
|
||||||
if (Settings::values.use_compatibility_profile) {
|
if (Settings::values.use_compatibility_profile) {
|
||||||
fmt.setProfile(QSurfaceFormat::CompatibilityProfile);
|
fmt.setProfile(QSurfaceFormat::CompatibilityProfile);
|
||||||
|
fmt.setOption(QSurfaceFormat::FormatOption::DeprecatedFunctions);
|
||||||
} else {
|
} else {
|
||||||
fmt.setProfile(QSurfaceFormat::CoreProfile);
|
fmt.setProfile(QSurfaceFormat::CoreProfile);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue