summaryrefslogtreecommitdiffhomepage
path: root/examples/shaders/shaders_postprocessing.c
diff options
context:
space:
mode:
authorvictorfisac <[email protected]>2017-08-27 12:48:51 +0200
committervictorfisac <[email protected]>2017-08-27 12:48:51 +0200
commit353912b2153b848b270ac15ba97a156b7d336d84 (patch)
tree63fdca2144cd13f6a537e76d6a3f8712ae106ead /examples/shaders/shaders_postprocessing.c
parenteb7b5e59bbaec0f556c4fde21cd0bf20819a8108 (diff)
parentc074783861994fb9f3bcc618b776a41dc57b50d0 (diff)
downloadraylib-353912b2153b848b270ac15ba97a156b7d336d84.tar.gz
raylib-353912b2153b848b270ac15ba97a156b7d336d84.zip
Merge branch 'master' of https://github.com/raysan5/raylib
Diffstat (limited to 'examples/shaders/shaders_postprocessing.c')
-rw-r--r--examples/shaders/shaders_postprocessing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/shaders/shaders_postprocessing.c b/examples/shaders/shaders_postprocessing.c
index bb239efa..ae77a723 100644
--- a/examples/shaders/shaders_postprocessing.c
+++ b/examples/shaders/shaders_postprocessing.c
@@ -76,7 +76,7 @@ int main()
Model dwarf = LoadModel("resources/model/dwarf.obj"); // Load OBJ model
Texture2D texture = LoadTexture("resources/model/dwarf_diffuse.png"); // Load model texture (diffuse map)
- dwarf.material.texDiffuse = texture; // Set dwarf model diffuse texture
+ dwarf.material.maps[MAP_DIFFUSE].texture = texture; // Set dwarf model diffuse texture
Vector3 position = { 0.0f, 0.0f, 0.0f }; // Set model position