summaryrefslogtreecommitdiffhomepage
path: root/examples/web/shaders/shaders_model_shader.c
diff options
context:
space:
mode:
authorRay <[email protected]>2021-03-14 13:10:05 +0100
committerRay <[email protected]>2021-03-14 13:10:05 +0100
commit06c815f05810fb2a72356d19f9cac218ca977892 (patch)
treeb8e08779a8374cb641c5246c55475f88e263704a /examples/web/shaders/shaders_model_shader.c
parent421c4e4cd85310bef3a8f79f89d23e3a1eac9668 (diff)
downloadraylib.com-06c815f05810fb2a72356d19f9cac218ca977892.tar.gz
raylib.com-06c815f05810fb2a72356d19f9cac218ca977892.zip
Updated examples after enum values rename
Diffstat (limited to 'examples/web/shaders/shaders_model_shader.c')
-rw-r--r--examples/web/shaders/shaders_model_shader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/web/shaders/shaders_model_shader.c b/examples/web/shaders/shaders_model_shader.c
index cc2ebaf..18abea5 100644
--- a/examples/web/shaders/shaders_model_shader.c
+++ b/examples/web/shaders/shaders_model_shader.c
@@ -72,7 +72,7 @@ int main(void)
shader = LoadShader(0, TextFormat("resources/shaders/glsl%i/grayscale.fs", GLSL_VERSION));
model.materials[0].shader = shader; // Set shader effect to 3d model
- model.materials[0].maps[MAP_DIFFUSE].texture = texture; // Bind texture to model
+ model.materials[0].maps[MATERIAL_MAP_DIFFUSE].texture = texture; // Bind texture to model
// Setup orbital camera
SetCameraMode(camera, CAMERA_ORBITAL); // Set an orbital camera mode