move stb_image/stb_truetype.h and stb_image/stb_image_write.h to ThirdPartyLibs/stb_image folder

This commit is contained in:
Erwin Coumans
2017-06-22 08:48:18 -07:00
parent 97f6a161f1
commit 9e5e0da9f4
8 changed files with 6 additions and 5 deletions

View File

@@ -1,6 +1,7 @@
INCLUDE_DIRECTORIES(
..
../ThirdPartyLibs
../../src
)

View File

@@ -1406,7 +1406,7 @@ void GLInstancingRenderer::updateCamera(int upAxis)
//#define STB_IMAGE_WRITE_IMPLEMENTATION
#include "stb_image_write.h"
#include "stb_image/stb_image_write.h"
void writeTextureToPng(int textureWidth, int textureHeight, const char* fileName, int numComponents)
{

View File

@@ -919,7 +919,7 @@ void SimpleOpenGL3App::getScreenPixels(unsigned char* rgbaBuffer, int bufferSize
}
//#define STB_IMAGE_WRITE_IMPLEMENTATION
#include "stb_image_write.h"
#include "stb_image/stb_image_write.h"
static void writeTextureToFile(int textureWidth, int textureHeight, const char* fileName, FILE* ffmpegVideo)
{
int numComponents = 4;

View File

@@ -37,7 +37,7 @@
#define STB_TRUETYPE_IMPLEMENTATION
#define STBTT_malloc(x,u) malloc(x)
#define STBTT_free(x,u) free(x)
#include "stb_truetype.h"
#include "stb_image/stb_truetype.h"
#define HASH_LUT_SIZE 256

View File

@@ -10,7 +10,7 @@
#include <stdlib.h>
#include <string.h>
#define STB_IMAGE_WRITE_IMPLEMENTATION
#include "stb_image_write.h"
#include "stb_image/stb_image_write.h"
static unsigned int s_indexData[INDEX_COUNT];

View File

@@ -9,7 +9,7 @@
initGlew()
includedirs {
"../ThirdPartyLibs",
"../../src",
}