Skip to content
Snippets Groups Projects
Commit e6c60b41 authored by ReinUsesLisp's avatar ReinUsesLisp
Browse files

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.
parent c4d54991
No related branches found
No related tags found
No related merge requests found
...@@ -379,6 +379,7 @@ void GRenderWindow::InitRenderTarget() { ...@@ -379,6 +379,7 @@ void GRenderWindow::InitRenderTarget() {
fmt.setVersion(4, 3); fmt.setVersion(4, 3);
if (Settings::values.use_compatibility_profile) { if (Settings::values.use_compatibility_profile) {
fmt.setProfile(QSurfaceFormat::CompatibilityProfile); fmt.setProfile(QSurfaceFormat::CompatibilityProfile);
fmt.setOption(QSurfaceFormat::FormatOption::DeprecatedFunctions);
} else { } else {
fmt.setProfile(QSurfaceFormat::CoreProfile); fmt.setProfile(QSurfaceFormat::CoreProfile);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment