mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-12 22:28:32 +09:00
[Misc] (Debug): Improve some logging.
This commit is contained in:
@@ -43,7 +43,7 @@ namespace MG_GL::GL {
|
|||||||
height = desc.Height;
|
height = desc.Height;
|
||||||
MG_Util::Debug::LogD("CreateRenderPassAndFramebuffer: Using depth/stencil attachment for dimensions: %ux%u", width, height);
|
MG_Util::Debug::LogD("CreateRenderPassAndFramebuffer: Using depth/stencil attachment for dimensions: %ux%u", width, height);
|
||||||
} else {
|
} else {
|
||||||
MG_Util::Debug::LogE("CreateRenderPassAndFramebuffer: Failed to determine framebuffer dimensions. No attachments.");
|
MG_Util::Debug::LogD("CreateRenderPassAndFramebuffer: Failed to determine framebuffer dimensions. No attachments.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -142,7 +142,6 @@ namespace MG_Util::Program {
|
|||||||
|
|
||||||
GLuint current = state.GetCurrentProgram();
|
GLuint current = state.GetCurrentProgram();
|
||||||
if (current == 0) {
|
if (current == 0) {
|
||||||
MG_Util::Debug::LogE("No active program");
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
DumpUniforms(state, current);
|
DumpUniforms(state, current);
|
||||||
|
|||||||
Reference in New Issue
Block a user