aboutsummaryrefslogtreecommitdiff
path: root/src/rlgl.c
diff options
context:
space:
mode:
authorRay <raysan5@gmail.com>2016-06-08 22:52:54 +0200
committerRay <raysan5@gmail.com>2016-06-08 22:52:54 +0200
commit99ee26b001c75e506f5f4e697b3e44c72899d699 (patch)
tree8c517c09c027f53a0bbadf2a8d5ebb773034e7a5 /src/rlgl.c
parentee049641bace3d35c7c857870f7471d743ed224a (diff)
downloadraylib-99ee26b001c75e506f5f4e697b3e44c72899d699.tar.gz
raylib-99ee26b001c75e506f5f4e697b3e44c72899d699.zip
Review const char *
Diffstat (limited to 'src/rlgl.c')
-rw-r--r--src/rlgl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rlgl.c b/src/rlgl.c
index 72225634..c9944806 100644
--- a/src/rlgl.c
+++ b/src/rlgl.c
@@ -236,7 +236,7 @@ unsigned int whiteTexture;
//----------------------------------------------------------------------------------
#if defined(GRAPHICS_API_OPENGL_33) || defined(GRAPHICS_API_OPENGL_ES2)
static void LoadCompressedTexture(unsigned char *data, int width, int height, int mipmapCount, int compressedFormat);
-static unsigned int LoadShaderProgram(char *vShaderStr, char *fShaderStr); // Load custom shader strings and return program id
+static unsigned int LoadShaderProgram(const char *vShaderStr, const char *fShaderStr); // Load custom shader strings and return program id
static Shader LoadDefaultShader(void); // Load default shader (just vertex positioning and texture coloring)
static Shader LoadStandardShader(void); // Load standard shader (support materials and lighting)
@@ -2403,7 +2403,7 @@ static void LoadCompressedTexture(unsigned char *data, int width, int height, in
}
// Load custom shader strings and return program id
-static unsigned int LoadShaderProgram(char *vShaderStr, char *fShaderStr)
+static unsigned int LoadShaderProgram(const char *vShaderStr, const char *fShaderStr)
{
unsigned int program = 0;