summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Hexagon122019-05-19 14:31:52 +0100
committerGravatar GitHub2019-05-19 14:31:52 +0100
commit2437ca04d762841868d5ca74242cb07941ae28db (patch)
tree80daafa8f220d2070f1ad0ce161da06952f006b6 /src
parentMerge pull request #2498 from lioncash/unused-code (diff)
parentyuzu/bootmanager: Explicitly enable deprecated OpenGL features on compat (diff)
downloadyuzu-2437ca04d762841868d5ca74242cb07941ae28db.tar.gz
yuzu-2437ca04d762841868d5ca74242cb07941ae28db.tar.xz
yuzu-2437ca04d762841868d5ca74242cb07941ae28db.zip
Merge pull request #2476 from ReinUsesLisp/fix-compat
yuzu/bootmanager: Explicitly enable deprecated OpenGL features on compat
Diffstat (limited to 'src')
-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 }