[Fix] (MG_Impl/GLImpl, MG_State/GLState): fix Vulkan depth-only fragment outputs

This commit is contained in:
2026-07-02 23:46:14 +08:00
parent 011b2ad6f8
commit ac43c0224c
2 changed files with 12 additions and 0 deletions
@@ -890,6 +890,9 @@ namespace MobileGL::MG_Impl::GLImpl {
case GL_MAX_DEBUG_GROUP_STACK_DEPTH:
*params = 0; // debug-group entrypoints are stubbed
return;
case GL_MAX_DEBUG_MESSAGE_LENGTH:
*params = 1024; // debug-message entrypoints are stubbed, but KHR_debug requires a valid limit
return;
case GL_DEBUG_GROUP_STACK_DEPTH:
*params = 0; // debug-group entrypoints are stubbed
return;