Do not segfault when the scene does not contain texture images. Fixes #251

This commit is contained in:
Syoyo Fujita
2020-04-06 22:11:16 +09:00
parent 70456ba892
commit 261f2d9ee2
2 changed files with 48 additions and 32 deletions

View File

@@ -19,3 +19,7 @@ $ make
Plese use solution file located at `basic` folder.
## Limitation
There are so many limitations in this example(e.g. no PBR shader. the shader only shows texture of textures[0] if available).