mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 23:31:53 -05:00
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.
This commit is contained in:
@@ -121,7 +121,7 @@ Config::Config() {
|
|||||||
#ifdef WEB_ENABLED
|
#ifdef WEB_ENABLED
|
||||||
msaa_supported = (msaa_max_samples > 0);
|
msaa_supported = (msaa_max_samples > 0);
|
||||||
#else
|
#else
|
||||||
msaa_supported = extensions.has("GL_EXT_framebuffer_multisample");
|
msaa_supported = true;
|
||||||
#endif
|
#endif
|
||||||
#ifndef IOS_ENABLED
|
#ifndef IOS_ENABLED
|
||||||
#ifdef WEB_ENABLED
|
#ifdef WEB_ENABLED
|
||||||
|
|||||||
Reference in New Issue
Block a user