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

@ -4127,7 +4127,7 @@ static stbi_uc *stbi__gif_load_next(stbi__context *s, stbi__gif *g, int *comp, i
static stbi_uc *stbi__gif_load(stbi__context *s, int *x, int *y, int *comp, int req_comp)
{
stbi_uc *u = 0;
stbi__gif g={0};
stbi__gif g={};
u = stbi__gif_load_next(s, &g, comp, req_comp);
if (u == (void *) 1) u = 0; // end of animated gif marker

View file

@ -9,8 +9,7 @@ project "makedisttex"
includedirs {
BX_DIR .. "include",
BGFX_DIR .. "3rdparty/edtaa3",
BGFX_DIR .. "3rdparty/stb_image",
BGFX_DIR .. "3rdparty",
}
files {

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>