summaryrefslogtreecommitdiffhomepage
path: root/examples/web/models/models_mesh_picking.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/models/models_mesh_picking.c
parent421c4e4cd85310bef3a8f79f89d23e3a1eac9668 (diff)
downloadraylib.com-06c815f05810fb2a72356d19f9cac218ca977892.tar.gz
raylib.com-06c815f05810fb2a72356d19f9cac218ca977892.zip
Updated examples after enum values rename
Diffstat (limited to 'examples/web/models/models_mesh_picking.c')
-rw-r--r--examples/web/models/models_mesh_picking.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/web/models/models_mesh_picking.c b/examples/web/models/models_mesh_picking.c
index edcbae7..c73701b 100644
--- a/examples/web/models/models_mesh_picking.c
+++ b/examples/web/models/models_mesh_picking.c
@@ -70,7 +70,7 @@ int main(void)
tower = LoadModel("resources/models/turret.obj"); // Load OBJ model
texture = LoadTexture("resources/models/turret_diffuse.png"); // Load model texture
- tower.materials[0].maps[MAP_DIFFUSE].texture = texture; // Set model diffuse texture
+ tower.materials[0].maps[MATERIAL_MAP_DIFFUSE].texture = texture; // Set model diffuse texture
towerBBox = MeshBoundingBox(tower.meshes[0]); // Get mesh bounding box