diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-05-17 03:54:47 -0300 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-05-17 04:09:17 -0300 |
commit | e6c60b419c99141c0f140fa37e93e35fbf3df1d4 (patch) | |
tree | 7d28eb56b6da6ef9502735f685f4d8b704d8c09c | |
parent | c4d549919fbcae062d7bfc6ecb4162fdbcf858f4 (diff) |
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.cpp | 1 |
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); } |