diff options
| author | Ray <raysan5@gmail.com> | 2017-10-20 00:18:21 +0200 |
|---|---|---|
| committer | Ray <raysan5@gmail.com> | 2017-10-20 00:18:21 +0200 |
| commit | 1375a616b25c3ffad1cc73581b8acbdc30ef79b4 (patch) | |
| tree | ce28dacb72996ed0aeba0b5541c08581550af8c0 /examples/shaders | |
| parent | 037fbc571ab943d0b8efd69d674bc7408875e8be (diff) | |
| download | raylib-1375a616b25c3ffad1cc73581b8acbdc30ef79b4.tar.gz raylib-1375a616b25c3ffad1cc73581b8acbdc30ef79b4.zip | |
Some examples code tweaks
Diffstat (limited to 'examples/shaders')
| -rw-r--r-- | examples/shaders/shaders_postprocessing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/shaders/shaders_postprocessing.c b/examples/shaders/shaders_postprocessing.c index ae77a723..4aac5f91 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.maps[MAP_DIFFUSE].texture = 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 |
