summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHexagon12 <Hexagon12@users.noreply.github.com>2019-05-19 15:31:52 +0200
committerGitHub <noreply@github.com>2019-05-19 15:31:52 +0200
commit2437ca04d762841868d5ca74242cb07941ae28db (patch)
tree80daafa8f220d2070f1ad0ce161da06952f006b6
parentMerge pull request #2498 from lioncash/unused-code (diff)
parentyuzu/bootmanager: Explicitly enable deprecated OpenGL features on compat (diff)
downloadyuzu-2437ca04d762841868d5ca74242cb07941ae28db.tar
yuzu-2437ca04d762841868d5ca74242cb07941ae28db.tar.gz
yuzu-2437ca04d762841868d5ca74242cb07941ae28db.tar.bz2
yuzu-2437ca04d762841868d5ca74242cb07941ae28db.tar.lz
yuzu-2437ca04d762841868d5ca74242cb07941ae28db.tar.xz
yuzu-2437ca04d762841868d5ca74242cb07941ae28db.tar.zst
yuzu-2437ca04d762841868d5ca74242cb07941ae28db.zip
-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() {
fmt.setVersion(4, 3);
if (Settings::values.use_compatibility_profile) {
fmt.setProfile(QSurfaceFormat::CompatibilityProfile);
+ fmt.setOption(QSurfaceFormat::FormatOption::DeprecatedFunctions);
} else {
fmt.setProfile(QSurfaceFormat::CoreProfile);
}