Merge branch 'dev' into Feat/Backend-Direct-GLES

This commit is contained in:
BZLZHH
2025-10-27 12:06:51 +08:00
5 changed files with 133 additions and 9 deletions
@@ -473,7 +473,7 @@ namespace MobileGL {
return;
}
if (location >= programObject->GetUniformCount() || location < -1) {
if (location > programObject->GetMaxUniformLocation() || location < -1) {
MG_State::pGLContext->RecordError(
ErrorCode::InvalidOperation,
MakeShared<GenericErrorInfo>("MG_Impl/GLImpl", __func__,