diff options
Diffstat (limited to 'ZAPD/HighLevel/HLTexture.cpp')
| -rw-r--r-- | ZAPD/HighLevel/HLTexture.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/ZAPD/HighLevel/HLTexture.cpp b/ZAPD/HighLevel/HLTexture.cpp index 0bf6b36..15abec9 100644 --- a/ZAPD/HighLevel/HLTexture.cpp +++ b/ZAPD/HighLevel/HLTexture.cpp @@ -1,16 +1,15 @@ #include "HLTexture.h" -#include <stb_image.h> #include "../StringHelper.h" using namespace std; HLTexture* HLTexture::FromPNG(std::string pngFilePath, HLTextureType texType) { - int32_t comp; + // int32_t comp; HLTexture* tex = new HLTexture(); tex->type = texType; - tex->bmpRgba = (uint8_t*)stbi_load((pngFilePath).c_str(), (int32_t*)&tex->width, - (int32_t*)&tex->height, &comp, STBI_rgb_alpha); + // tex->bmpRgba = (uint8_t*)stbi_load((pngFilePath).c_str(), (int32_t*)&tex->width, + // (int32_t*)&tex->height, &comp, STBI_rgb_alpha); return tex; } |
