1
0
Fork 0

Add separate file for STB implementations

This commit is contained in:
Meoweg 2015-11-16 17:14:31 +00:00
parent d94913984d
commit 0fb1573e3a
2 changed files with 4 additions and 3 deletions

4
src/stb.cpp Normal file
View File

@ -0,0 +1,4 @@
#define STB_IMAGE_IMPLEMENTATION
#define STBI_ASSERT(x)
#define STBI_ONLY_PNG
#include <stb_image.h>

View File

@ -2,9 +2,6 @@
#include <string>
#define STB_IMAGE_IMPLEMENTATION
#define STBI_ASSERT(x)
#define STBI_ONLY_PNG
#include <stb_image.h>
const std::string Texture::filename(const std::string &name)