summaryrefslogtreecommitdiffhomepage
path: root/examples/shaders/shaders_texture_waves.c
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2020-08-16 11:28:15 +0200
committerraysan5 <[email protected]>2020-08-16 11:28:15 +0200
commitc32ae480afd196d88acdfdb52d5261a61e0deb08 (patch)
treef34f662f64424cbade1678c07934b9c12455d68d /examples/shaders/shaders_texture_waves.c
parent26f6a64a39671487f5d1eeeffe7fce6538669051 (diff)
downloadraylib-c32ae480afd196d88acdfdb52d5261a61e0deb08.tar.gz
raylib-c32ae480afd196d88acdfdb52d5261a61e0deb08.zip
RENAMED: FormatText() -> TextFormat()
This function was renamed for consistency in raylib 3.0, just unified all examples to use TextFormat() instead of FormatText()
Diffstat (limited to 'examples/shaders/shaders_texture_waves.c')
-rw-r--r--examples/shaders/shaders_texture_waves.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/shaders/shaders_texture_waves.c b/examples/shaders/shaders_texture_waves.c
index c0450361..ca41620e 100644
--- a/examples/shaders/shaders_texture_waves.c
+++ b/examples/shaders/shaders_texture_waves.c
@@ -39,7 +39,7 @@ int main(void)
Texture2D texture = LoadTexture("resources/space.png");
// Load shader and setup location points and values
- Shader shader = LoadShader(0, FormatText("resources/shaders/glsl%i/wave.fs", GLSL_VERSION));
+ Shader shader = LoadShader(0, TextFormat("resources/shaders/glsl%i/wave.fs", GLSL_VERSION));
int secondsLoc = GetShaderLocation(shader, "secondes");
int freqXLoc = GetShaderLocation(shader, "freqX");