From 7af4c7d71ba9ddf5a3c88c967b29d66d2a50bd12 Mon Sep 17 00:00:00 2001 From: BZLZHH Date: Sat, 15 Nov 2025 22:09:57 +0800 Subject: [PATCH] [Fix] (MG_State/FramebufferState): Set default readBuffer value as Color0. --- MobileGL/MG_State/GLState/FramebufferState/FramebufferObject.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MobileGL/MG_State/GLState/FramebufferState/FramebufferObject.h b/MobileGL/MG_State/GLState/FramebufferState/FramebufferObject.h index b8a91be9..876f4692 100644 --- a/MobileGL/MG_State/GLState/FramebufferState/FramebufferObject.h +++ b/MobileGL/MG_State/GLState/FramebufferState/FramebufferObject.h @@ -118,7 +118,7 @@ namespace MobileGL { m_attachments; Bool m_drawBuffersDirty = false; Array m_drawBuffers; - FramebufferAttachmentType m_readBuffer = FramebufferAttachmentType::None; + FramebufferAttachmentType m_readBuffer = FramebufferAttachmentType::Color0; }; } // namespace GLState