summaryrefslogtreecommitdiffhomepage
path: root/examples/web/shaders/shaders_postprocessing.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/web/shaders/shaders_postprocessing.c')
-rw-r--r--examples/web/shaders/shaders_postprocessing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/web/shaders/shaders_postprocessing.c b/examples/web/shaders/shaders_postprocessing.c
index bf65be9..a5e7beb 100644
--- a/examples/web/shaders/shaders_postprocessing.c
+++ b/examples/web/shaders/shaders_postprocessing.c
@@ -100,7 +100,7 @@ int main()
dwarf = LoadModel("resources/model/dwarf.obj"); // Load OBJ model
texture = LoadTexture("resources/model/dwarf_diffuse.png"); // Load model texture
- dwarf.material.texDiffuse = texture; // Set dwarf model diffuse texture
+ dwarf.material.maps[MAP_DIFFUSE].texture = texture; // Set dwarf model diffuse texture
// Load all postpro shaders
// NOTE 1: All postpro shader use the base vertex shader (DEFAULT_VERTEX_SHADER)