summaryrefslogtreecommitdiffhomepage
path: root/examples/shaders/shaders_palette_switch.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/shaders/shaders_palette_switch.c')
-rw-r--r--examples/shaders/shaders_palette_switch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/shaders/shaders_palette_switch.c b/examples/shaders/shaders_palette_switch.c
index 6bc27827..0f6055bc 100644
--- a/examples/shaders/shaders_palette_switch.c
+++ b/examples/shaders/shaders_palette_switch.c
@@ -81,7 +81,7 @@ int main(void)
// Load shader to be used on some parts drawing
// NOTE 1: Using GLSL 330 shader version, on OpenGL ES 2.0 use GLSL 100 shader version
// NOTE 2: Defining 0 (NULL) for vertex shader forces usage of internal default vertex shader
- Shader shader = LoadShader(0, FormatText("resources/shaders/glsl%i/palette_switch.fs", GLSL_VERSION));
+ Shader shader = LoadShader(0, TextFormat("resources/shaders/glsl%i/palette_switch.fs", GLSL_VERSION));
// Get variable (uniform) location on the shader to connect with the program
// NOTE: If uniform variable could not be found in the shader, function returns -1