Skip to content

Commit

Permalink
move stb_image/stb_truetype.h and stb_image/stb_image_write.h to Thir…
Browse files Browse the repository at this point in the history
…dPartyLibs/stb_image folder
  • Loading branch information
erwincoumans committed Jun 22, 2017
1 parent 97f6a16 commit 9e5e0da
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions examples/OpenGLWindow/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

INCLUDE_DIRECTORIES(
..
../ThirdPartyLibs
../../src
)

Expand Down
2 changes: 1 addition & 1 deletion examples/OpenGLWindow/GLInstancingRenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{

Expand Down
2 changes: 1 addition & 1 deletion examples/OpenGLWindow/SimpleOpenGL3App.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion examples/OpenGLWindow/fontstash.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion examples/OpenGLWindow/opengl_fontstashcallbacks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down
2 changes: 1 addition & 1 deletion examples/OpenGLWindow/premake4.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
initGlew()

includedirs {

"../ThirdPartyLibs",
"../../src",
}

Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 9e5e0da

Please sign in to comment.