diff options
author | Zach Hilman <DarkLordZach@users.noreply.github.com> | 2019-06-07 17:23:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-07 17:23:25 -0400 |
commit | de33ad25f52960449a97caa2b25e37e6a35f0710 (patch) | |
tree | 5f70bb84aafac68b6c34c95fec033528bff26d4e /src/yuzu/bootmanager.cpp | |
parent | cd2d9628c99db1944b44b5699bfc40bee582301d (diff) | |
parent | 6ac44907516a0fd4973a80b793b336c4cef2377a (diff) |
Merge pull request #2514 from ReinUsesLisp/opengl-compat
video_core: Drop OpenGL core in favor of OpenGL compatibility
Diffstat (limited to 'src/yuzu/bootmanager.cpp')
-rw-r--r-- | src/yuzu/bootmanager.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/yuzu/bootmanager.cpp b/src/yuzu/bootmanager.cpp index afec33b61..07a720494 100644 --- a/src/yuzu/bootmanager.cpp +++ b/src/yuzu/bootmanager.cpp @@ -381,12 +381,8 @@ void GRenderWindow::InitRenderTarget() { // WA_DontShowOnScreen, WA_DeleteOnClose QSurfaceFormat fmt; fmt.setVersion(4, 3); - if (Settings::values.use_compatibility_profile) { - fmt.setProfile(QSurfaceFormat::CompatibilityProfile); - fmt.setOption(QSurfaceFormat::FormatOption::DeprecatedFunctions); - } else { - fmt.setProfile(QSurfaceFormat::CoreProfile); - } + fmt.setProfile(QSurfaceFormat::CompatibilityProfile); + fmt.setOption(QSurfaceFormat::FormatOption::DeprecatedFunctions); // TODO: expose a setting for buffer value (ie default/single/double/triple) fmt.setSwapBehavior(QSurfaceFormat::DefaultSwapBehavior); shared_context = std::make_unique<QOpenGLContext>(); |