summaryrefslogtreecommitdiffhomepage
path: root/examples/web/shaders/shaders_fog.c
diff options
context:
space:
mode:
authorRay <[email protected]>2021-03-12 18:05:09 +0100
committerRay <[email protected]>2021-03-12 18:05:09 +0100
commit421c4e4cd85310bef3a8f79f89d23e3a1eac9668 (patch)
treea49167a3f2c2ae7558c9a3a94696bc187ffbc824 /examples/web/shaders/shaders_fog.c
parentcc62fcccc630fdc4badcad8381d5bb43eb71fa1f (diff)
downloadraylib.com-421c4e4cd85310bef3a8f79f89d23e3a1eac9668.tar.gz
raylib.com-421c4e4cd85310bef3a8f79f89d23e3a1eac9668.zip
Renamed FormatText() -> TextFormat()
Diffstat (limited to 'examples/web/shaders/shaders_fog.c')
-rw-r--r--examples/web/shaders/shaders_fog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/web/shaders/shaders_fog.c b/examples/web/shaders/shaders_fog.c
index a84075f..859b4e2 100644
--- a/examples/web/shaders/shaders_fog.c
+++ b/examples/web/shaders/shaders_fog.c
@@ -99,8 +99,8 @@ int main(void)
modelC.materials[0].maps[MAP_DIFFUSE].texture = texture;
// Load shader and set up some uniforms
- shader = LoadShader(FormatText("resources/shaders/glsl%i/base_lighting.vs", GLSL_VERSION),
- FormatText("resources/shaders/glsl%i/fog.fs", GLSL_VERSION));
+ shader = LoadShader(TextFormat("resources/shaders/glsl%i/base_lighting.vs", GLSL_VERSION),
+ TextFormat("resources/shaders/glsl%i/fog.fs", GLSL_VERSION));
shader.locs[LOC_MATRIX_MODEL] = GetShaderLocation(shader, "matModel");
shader.locs[LOC_VECTOR_VIEW] = GetShaderLocation(shader, "viewPos");