diff options
| author | Catalin Moldovan <[email protected]> | 2019-09-25 17:31:10 +0300 |
|---|---|---|
| committer | Ray <[email protected]> | 2019-09-25 16:31:10 +0200 |
| commit | 99e86d180bd72dc6a2813240c4a191562ff349ad (patch) | |
| tree | 29d4a67c106c326176af4072b422230f36d83fb4 /src/raylib.h | |
| parent | 8adcec185eb04a5dc88aa7f57f16214c22be7b88 (diff) | |
| download | raylib-99e86d180bd72dc6a2813240c4a191562ff349ad.tar.gz raylib-99e86d180bd72dc6a2813240c4a191562ff349ad.zip | |
Const corectness for LoadShaderCode (#977)
* Const corectness for LoadShaderCode
* Added const for standalone variant as well.
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/raylib.h b/src/raylib.h index 65210d47..be5bcaf0 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -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 |
