move stb_image/stb_truetype.h and stb_image/stb_image_write.h to ThirdPartyLibs/stb_image folder
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
|
||||
INCLUDE_DIRECTORIES(
|
||||
..
|
||||
../ThirdPartyLibs
|
||||
../../src
|
||||
)
|
||||
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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];
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
initGlew()
|
||||
|
||||
includedirs {
|
||||
|
||||
"../ThirdPartyLibs",
|
||||
"../../src",
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user