P5f fr: refuse frontend identity on every registry apply

This commit is contained in:
2026-09-19 23:35:35 -04:00
parent 4667e13be6
commit eeaf14c1f7
5 changed files with 125 additions and 108 deletions
@@ -8292,6 +8292,9 @@ namespace MobileGL::MG_Backend::DirectGLES {
);
}
#if !MOBILEGL_BUILD_DISAGGREGATED
// P5f (fr): no declaration, dispatch-table slot or caller remains for this legacy
// helper. Exclude it from the server-capable build; retain non-D-P bytes for G1.
GLuint GetBackendProgramId(GLuint program) {
if (!MGB_CTX->ValidateProgramName(program)) {
MGLOG_E_ONCE("Invalid frontend program object: %u", program);
@@ -8320,6 +8323,7 @@ namespace MobileGL::MG_Backend::DirectGLES {
}
return backendObj->GetBackendProgramId();
}
#endif
void Clear(GLbitfield mask) {
#if MOBILEGL_LOG_ACTIVE_LEVEL <= MOBILEGL_LOG_LEVEL_DEBUG && MOBILEGL_ENABLE_SCOPE_MARKER