mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-12 14:18:31 +09:00
[Fix] (MG_State/FramebufferState): Set default readBuffer value as Color0.
This commit is contained in:
@@ -118,7 +118,7 @@ namespace MobileGL {
|
|||||||
m_attachments;
|
m_attachments;
|
||||||
Bool m_drawBuffersDirty = false;
|
Bool m_drawBuffersDirty = false;
|
||||||
Array<FramebufferAttachmentType, MAX_DRAW_BUFFERS> m_drawBuffers;
|
Array<FramebufferAttachmentType, MAX_DRAW_BUFFERS> m_drawBuffers;
|
||||||
FramebufferAttachmentType m_readBuffer = FramebufferAttachmentType::None;
|
FramebufferAttachmentType m_readBuffer = FramebufferAttachmentType::Color0;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace GLState
|
} // namespace GLState
|
||||||
|
|||||||
Reference in New Issue
Block a user