mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-11-11 12:03:24 +09:00
P5f fr: refuse frontend identity on every registry apply
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user