aboutsummaryrefslogtreecommitdiff
path: root/examples/shaders_postprocessing.c
diff options
context:
space:
mode:
authorRay <raysan5@gmail.com>2016-07-15 19:44:18 +0200
committerGitHub <noreply@github.com>2016-07-15 19:44:18 +0200
commita2794379a0e1e2ab1486888aaa710f65d492e0fc (patch)
treeacd8185cf8574ccba8fab46ccdbca30f9a3cd895 /examples/shaders_postprocessing.c
parent1c98e6b698b8002e0c6c769c6d9f23a6e15f3bdf (diff)
parentfc19e24eba4358b3afb052f80425af4947b172d6 (diff)
downloadraylib-a2794379a0e1e2ab1486888aaa710f65d492e0fc.tar.gz
raylib-a2794379a0e1e2ab1486888aaa710f65d492e0fc.zip
Merge pull request #132 from raysan5/develop
Develop branch integration
Diffstat (limited to 'examples/shaders_postprocessing.c')
-rw-r--r--examples/shaders_postprocessing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/shaders_postprocessing.c b/examples/shaders_postprocessing.c
index 5e8b5a80..43d21e08 100644
--- a/examples/shaders_postprocessing.c
+++ b/examples/shaders_postprocessing.c
@@ -34,7 +34,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)
- SetModelTexture(&dwarf, texture); // Bind texture to model
+ dwarf.material.texDiffuse = texture; // Set dwarf model diffuse texture
Vector3 position = { 0.0f, 0.0f, 0.0f }; // Set model position