[Fix] (MG_Impl/Framebuffer, MG_State/Framebuffer, MG_Backend/DirectGLES): redone fbo attachment management. remap GL -> ES attachment names

This commit is contained in:
2025-11-15 00:39:07 +08:00
parent 899563165e
commit e93dff52dc
6 changed files with 171 additions and 64 deletions
@@ -26,7 +26,7 @@ namespace MobileGL {
case FramebufferAttachmentType::Stencil:
return GL_STENCIL_ATTACHMENT;
default:
return GL_COLOR_ATTACHMENT0;
return GL_NONE;
}
}