[Fix] (MG_Impl/Framebuffer): Correctly set internal format for RBO.

This commit is contained in:
BZLZHH
2025-12-31 19:45:11 +08:00
parent 9f4a1041ba
commit 2c214affbe
3 changed files with 3 additions and 2 deletions
@@ -70,7 +70,6 @@ namespace MobileGL {
namespace GLState {
class FramebufferAttachment {
public:
// TODO: add Renderbuffer when it is implemented
explicit FramebufferAttachment(SharedPtr<MG_State::GLState::ITextureObject> texture, Int level = 0);
explicit FramebufferAttachment(SharedPtr<RenderbufferObject> renderbuffer);
explicit FramebufferAttachment(Bool IsValid = true);