mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-09 20:58:31 +09:00
[Fix] (MG_Impl/Program): DeleteShader name check bug
This commit is contained in:
@@ -129,7 +129,7 @@ namespace MobileGL {
|
||||
}
|
||||
|
||||
void DeleteShader_State(GLuint shader) {
|
||||
if (!CheckProgramNameValidity(shader)) return;
|
||||
if (!CheckShaderNameValidity(shader)) return;
|
||||
MG_State::pGLContext->MarkShaderForDeletion(shader);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user