From ec9d414d34a416b523ce78c0fac9651f2544347b Mon Sep 17 00:00:00 2001 From: Julien Moutinho Date: Thu, 2 Oct 2025 15:44:11 +0200 Subject: [PATCH] lower OpenGL version --- src/citra_qt/bootmanager.cpp | 2 +- src/video_core/renderer_opengl/gl_driver.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/citra_qt/bootmanager.cpp b/src/citra_qt/bootmanager.cpp index b53dbd5..61ee959 100644 --- a/src/citra_qt/bootmanager.cpp +++ b/src/citra_qt/bootmanager.cpp @@ -780,7 +780,7 @@ bool GRenderWindow::LoadOpenGL() { const QString renderer = QString::fromUtf8(reinterpret_cast(glGetString(GL_RENDERER))); - if (!gles && !GLAD_GL_VERSION_4_3) { + if (!gles && !GLAD_GL_VERSION_2_1) { LOG_ERROR(Frontend, "GPU does not support OpenGL 4.3: {}", renderer.toStdString()); QMessageBox::warning(this, tr("Error while initializing OpenGL 4.3!"), tr("Your GPU may not support OpenGL 4.3, or you do not have the " diff --git a/src/video_core/renderer_opengl/gl_driver.cpp b/src/video_core/renderer_opengl/gl_driver.cpp index 1a6a100..7a1f361 100644 --- a/src/video_core/renderer_opengl/gl_driver.cpp +++ b/src/video_core/renderer_opengl/gl_driver.cpp @@ -177,7 +177,7 @@ void Driver::CheckExtensionSupport() { nv_fragment_shader_interlock = GLAD_GL_NV_fragment_shader_interlock; intel_fragment_shader_ordering = GLAD_GL_INTEL_fragment_shader_ordering; blend_minmax_factor = GLAD_GL_AMD_blend_minmax_factor || GLAD_GL_NV_blend_minmax_factor; - is_suitable = GLAD_GL_VERSION_4_3 || GLAD_GL_ES_VERSION_3_2; + is_suitable = GLAD_GL_VERSION_2_1 || GLAD_GL_ES_VERSION_3_2; } void Driver::FindBugs() { -- 2.50.1