From 06c815f05810fb2a72356d19f9cac218ca977892 Mon Sep 17 00:00:00 2001 From: Ray Date: Sun, 14 Mar 2021 13:10:05 +0100 Subject: Updated examples after enum values rename --- examples/web/models/models_cubicmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/web/models/models_cubicmap.c') diff --git a/examples/web/models/models_cubicmap.c b/examples/web/models/models_cubicmap.c index fede958..1ef04e1 100644 --- a/examples/web/models/models_cubicmap.c +++ b/examples/web/models/models_cubicmap.c @@ -51,7 +51,7 @@ int main(void) // NOTE: By default each cube is mapped to one part of texture atlas Texture2D texture = LoadTexture("resources/cubicmap_atlas.png"); // Load map texture - model.materials[0].maps[MAP_DIFFUSE].texture = texture; // Set map diffuse texture + model.materials[0].maps[MATERIAL_MAP_DIFFUSE].texture = texture; // Set map diffuse texture UnloadImage(image); // Unload cubesmap image from RAM, already uploaded to VRAM -- cgit v1.2.3