Fixed build.

This commit is contained in:
Branimir Karadzic
2014-11-23 21:41:53 -08:00
parent bb0a305333
commit 8ff44ece56
3 changed files with 49 additions and 48 deletions

View File

@@ -8,8 +8,10 @@
#include <stdint.h>
#include <string.h>
#include <edtaa3func.h>
#include <stb_image.c>
#include <edtaa3/edtaa3func.h>
#define STB_IMAGE_IMPLEMENTATION
#include <stb/stb_image.c>
#define BX_NAMESPACE 1
#include <bx/bx.h>
@@ -64,14 +66,14 @@ void saveTga(const char* _filePath, uint32_t _width, uint32_t _height, uint32_t
putc(0, file);
putc(0, file);
putc(type, file);
putc(0, file);
putc(0, file);
putc(0, file);
putc(0, file);
putc(0, file);
putc(0, file);
putc(0, file);
putc(0, file);
putc(0, file);
putc(0, file);
putc(xorig, file);
putc(0, file);
putc(0, file);
putc(yorig, file);
putc(_width&0xff, file);
putc( (_width>>8)&0xff, file);