[Fix] some format quirk

This commit is contained in:
2025-05-07 17:15:50 +08:00
parent a17497522a
commit d1eb029671
3 changed files with 29 additions and 9 deletions
@@ -45,6 +45,7 @@ namespace MG_GL::GL {
GLenum result = MG_State::AttachTexture2DToFramebuffer(
target, attachment, textarget, texture, level
);
if (result == GL_NO_ERROR) return;
MG_State::SetError(result);
MG_Util::Debug::LogE("Texture attachment failed: %s", MG_Util::Debug::GLEnumToString(result));