summaryrefslogtreecommitdiffhomepage
path: root/examples/shaders/shaders_simple_mask.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/shaders/shaders_simple_mask.c')
-rw-r--r--examples/shaders/shaders_simple_mask.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/shaders/shaders_simple_mask.c b/examples/shaders/shaders_simple_mask.c
index 88163b34..b24d7216 100644
--- a/examples/shaders/shaders_simple_mask.c
+++ b/examples/shaders/shaders_simple_mask.c
@@ -56,7 +56,7 @@ int main(void)
Model model3 = LoadModelFromMesh(sphere);
// Load the shader
- Shader shader = LoadShader(0, FormatText("resources/shaders/glsl%i/mask.fs", GLSL_VERSION));
+ Shader shader = LoadShader(0, TextFormat("resources/shaders/glsl%i/mask.fs", GLSL_VERSION));
// Load and apply the diffuse texture (colour map)
Texture texDiffuse = LoadTexture("resources/plasma.png");
@@ -118,8 +118,8 @@ int main(void)
EndMode3D();
- DrawRectangle(16, 698, MeasureText(FormatText("Frame: %i", framesCounter), 20) + 8, 42, BLUE);
- DrawText(FormatText("Frame: %i", framesCounter), 20, 700, 20, WHITE);
+ DrawRectangle(16, 698, MeasureText(TextFormat("Frame: %i", framesCounter), 20) + 8, 42, BLUE);
+ DrawText(TextFormat("Frame: %i", framesCounter), 20, 700, 20, WHITE);
DrawFPS(10, 10);