mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-12-24 18:32:49 -06:00
Merge pull request #2476 from ReinUsesLisp/fix-compat
yuzu/bootmanager: Explicitly enable deprecated OpenGL features on compat
This commit is contained in:
commit
2437ca04d7
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