浏览代码

Update rlgl.h

Ray 2 月之前
父节点
当前提交
9ed785c2e1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/rlgl.h

+ 1 - 1
src/rlgl.h

@@ -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
     {
     {