summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2019-05-17 03:54:47 -0300
committerGravatar ReinUsesLisp2019-05-17 04:09:17 -0300
commite6c60b419c99141c0f140fa37e93e35fbf3df1d4 (patch)
tree7d28eb56b6da6ef9502735f685f4d8b704d8c09c
parentMerge pull request #2462 from lioncash/video-mm (diff)
downloadyuzu-e6c60b419c99141c0f140fa37e93e35fbf3df1d4.tar.gz
yuzu-e6c60b419c99141c0f140fa37e93e35fbf3df1d4.tar.xz
yuzu-e6c60b419c99141c0f140fa37e93e35fbf3df1d4.zip
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.
-rw-r--r--src/yuzu/bootmanager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/yuzu/bootmanager.cpp b/src/yuzu/bootmanager.cpp
index 5c98636c5..810954b36 100644
--- a/src/yuzu/bootmanager.cpp
+++ b/src/yuzu/bootmanager.cpp
@@ -379,6 +379,7 @@ void GRenderWindow::InitRenderTarget() {
379 fmt.setVersion(4, 3); 379 fmt.setVersion(4, 3);
380 if (Settings::values.use_compatibility_profile) { 380 if (Settings::values.use_compatibility_profile) {
381 fmt.setProfile(QSurfaceFormat::CompatibilityProfile); 381 fmt.setProfile(QSurfaceFormat::CompatibilityProfile);
382 fmt.setOption(QSurfaceFormat::FormatOption::DeprecatedFunctions);
382 } else { 383 } else {
383 fmt.setProfile(QSurfaceFormat::CoreProfile); 384 fmt.setProfile(QSurfaceFormat::CoreProfile);
384 } 385 }