Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 674de5b

Browse files
[Impeller] Enable GLES MSAA only if the multisampled_render_to_texture2 extension is available (#47364)
The GLES MSAA implementation may need to call FramebufferTexture2DMultisampleEXT for the stencil attachment. See flutter/flutter#137252
1 parent e18ba82 commit 674de5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

impeller/renderer/backend/gles/capabilities_gles.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ CapabilitiesGLES::CapabilitiesGLES(const ProcTableGLES& gl) {
108108
}
109109

110110
if (gl.GetDescription()->HasExtension(
111-
"GL_EXT_multisampled_render_to_texture") &&
111+
"GL_EXT_multisampled_render_to_texture2") &&
112112
// The current implementation of MSAA support in Impeller GLES requires
113113
// the use of glBlitFramebuffer, which is not available on all GLES
114114
// implementations. We can't use MSAA on these platforms yet.

0 commit comments

Comments
 (0)