mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-08 04:08:32 +09:00
[Fix] (MG_Impl/Framebuffer): Correctly set internal format for RBO.
This commit is contained in:
@@ -58,6 +58,7 @@ namespace MobileGL {
|
||||
return;
|
||||
}
|
||||
renderbufferObject->AllocateStorage({width, height});
|
||||
renderbufferObject->SetInternalFormat(format);
|
||||
}
|
||||
|
||||
GLboolean IsRenderbuffer_State(GLuint renderbuffer) {
|
||||
|
||||
Reference in New Issue
Block a user