From 281642831c3f6d6cf5e99b07f699829901511ce4 Mon Sep 17 00:00:00 2001 From: Praytic Date: Sun, 1 Sep 2024 18:26:49 -0700 Subject: [PATCH] Enable MSAA support for all non-web platforms MSAA support is built into GLES3 core, eliminating the need to check for GL_EXT_framebuffer_multisample, which was necessary only in GLES2 due to the lack of inherent multisample framebuffer support. This commit corrects an oversight from GLES2-based code, ensuring compatibility with GLES3 where multisampling is natively supported without extensions. (cherry picked from commit fc955fa89f889f28bd632e1cb66fe60925979e37) --- drivers/gles3/storage/config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gles3/storage/config.cpp b/drivers/gles3/storage/config.cpp index 2b3c19dbb84..d6472c44c13 100644 --- a/drivers/gles3/storage/config.cpp +++ b/drivers/gles3/storage/config.cpp @@ -121,7 +121,7 @@ Config::Config() { #ifdef WEB_ENABLED msaa_supported = (msaa_max_samples > 0); #else - msaa_supported = extensions.has("GL_EXT_framebuffer_multisample"); + msaa_supported = true; #endif #ifndef IOS_ENABLED #ifdef WEB_ENABLED