Const corectness for LoadShaderCode (#977)

* Const corectness for LoadShaderCode

* Added const for standalone variant as well.
This commit is contained in:
Catalin Moldovan 2019-09-25 17:31:10 +03:00 committed by Ray
parent 8adcec185e
commit 99e86d180b
2 changed files with 3 additions and 3 deletions

View file

@ -1304,7 +1304,7 @@ RLAPI RayHitInfo GetCollisionRayGround(Ray ray, float groundHeight);
// Shader loading/unloading functions
RLAPI char *LoadText(const char *fileName); // Load chars array from text file
RLAPI Shader LoadShader(const char *vsFileName, const char *fsFileName); // Load shader from files and bind default locations
RLAPI Shader LoadShaderCode(char *vsCode, char *fsCode); // Load shader from code strings and bind default locations
RLAPI Shader LoadShaderCode(const char *vsCode, const char *fsCode); // Load shader from code strings and bind default locations
RLAPI void UnloadShader(Shader shader); // Unload shader from GPU memory (VRAM)
RLAPI Shader GetShaderDefault(void); // Get default shader