mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-06 14:23:12 +00:00
Update rlgl.h
This commit is contained in:
parent
601ff4f02e
commit
9ed785c2e1
@ -4278,7 +4278,7 @@ unsigned int rlCompileShader(const char *shaderCode, int type)
|
|||||||
// Unload object allocated by glCreateShader(),
|
// Unload object allocated by glCreateShader(),
|
||||||
// despite failing in the compilation process
|
// despite failing in the compilation process
|
||||||
glDeleteShader(shaderId);
|
glDeleteShader(shaderId);
|
||||||
shader = 0;
|
shaderId = 0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user