summaryrefslogtreecommitdiffhomepage
path: root/examples/models/models_animation.c
diff options
context:
space:
mode:
authorRay <[email protected]>2021-08-26 00:14:34 +0200
committerRay <[email protected]>2021-08-26 00:14:34 +0200
commit3d33c559e72340184d1cdb524faf8e6eb841022c (patch)
tree084fb1b3114b10504e30a86f6b0ca49916e3447f /examples/models/models_animation.c
parent14e443afbac0c8742e11fb97edc6eea6f0865bc5 (diff)
downloadraylib-3d33c559e72340184d1cdb524faf8e6eb841022c.tar.gz
raylib-3d33c559e72340184d1cdb524faf8e6eb841022c.zip
REVIEWED: Examples compilation
Diffstat (limited to 'examples/models/models_animation.c')
-rw-r--r--examples/models/models_animation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/models/models_animation.c b/examples/models/models_animation.c
index 2c3348c0..4fde9baf 100644
--- a/examples/models/models_animation.c
+++ b/examples/models/models_animation.c
@@ -41,7 +41,7 @@ int main(void)
Model model = LoadModel("resources/guy/guy.iqm"); // Load the animated model mesh and basic data
Texture2D texture = LoadTexture("resources/guy/guytex.png"); // Load model texture and set material
- SetMaterialTexture(&model.materials[0], MAP_DIFFUSE, texture); // Set model material map texture
+ SetMaterialTexture(&model.materials[0], MATERIAL_MAP_DIFFUSE, texture); // Set model material map texture
Vector3 position = { 0.0f, 0.0f, 0.0f }; // Set model position