Преглед изворни кода

Merge pull request #2476 from ReinUsesLisp/fix-compat

yuzu/bootmanager: Explicitly enable deprecated OpenGL features on compat
Hexagon12 пре 7 година
родитељ
комит
2437ca04d7
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      src/yuzu/bootmanager.cpp

+ 1 - 0
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);
     }