aboutsummaryrefslogtreecommitdiffstats
path: root/yage/core/stb_image.cpp
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-12-27 19:21:12 +0000
committerYann Herklotz <ymherklotz@gmail.com>2017-12-27 19:21:12 +0000
commit354d7df4d2779ed7391701d1ef4344e959b64582 (patch)
tree81ecdc8d323cae78a86fb9c99524f57c705eeabc /yage/core/stb_image.cpp
parentf949692714e72a0e2d45ebb6a5d698424ab71dee (diff)
downloadYAGE-354d7df4d2779ed7391701d1ef4344e959b64582.tar.gz
YAGE-354d7df4d2779ed7391701d1ef4344e959b64582.zip
[Broken] Texture is black.
Diffstat (limited to 'yage/core/stb_image.cpp')
-rw-r--r--yage/core/stb_image.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/yage/core/stb_image.cpp b/yage/core/stb_image.cpp
new file mode 100644
index 00000000..8ddfd1f5
--- /dev/null
+++ b/yage/core/stb_image.cpp
@@ -0,0 +1,2 @@
+#define STB_IMAGE_IMPLEMENTATION
+#include "stb_image.h"