summaryrefslogtreecommitdiffhomepage
path: root/examples/web/shaders/shaders_basic_lighting.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_basic_lighting.c
parentcc62fcccc630fdc4badcad8381d5bb43eb71fa1f (diff)
downloadraylib.com-421c4e4cd85310bef3a8f79f89d23e3a1eac9668.tar.gz
raylib.com-421c4e4cd85310bef3a8f79f89d23e3a1eac9668.zip
Renamed FormatText() -> TextFormat()
Diffstat (limited to 'examples/web/shaders/shaders_basic_lighting.c')
-rw-r--r--examples/web/shaders/shaders_basic_lighting.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/web/shaders/shaders_basic_lighting.c b/examples/web/shaders/shaders_basic_lighting.c
index bbd358b..2bcae63 100644
--- a/examples/web/shaders/shaders_basic_lighting.c
+++ b/examples/web/shaders/shaders_basic_lighting.c
@@ -99,8 +99,8 @@ int main(void)
modelB.materials[0].maps[MAP_DIFFUSE].texture = texture;
modelC.materials[0].maps[MAP_DIFFUSE].texture = texture;
- shader = LoadShader(FormatText("resources/shaders/glsl%i/base_lighting.vs", GLSL_VERSION),
- FormatText("resources/shaders/glsl%i/lighting.fs", GLSL_VERSION));
+ shader = LoadShader(TextFormat("resources/shaders/glsl%i/base_lighting.vs", GLSL_VERSION),
+ TextFormat("resources/shaders/glsl%i/lighting.fs", GLSL_VERSION));
// Get some shader loactions
shader.locs[LOC_MATRIX_MODEL] = GetShaderLocation(shader, "matModel");