Merge pull request #401 from themanagainstthetank/patch-1

update stb_image.h
pull/338/merge
Sean Barrett 2017-01-16 06:17:55 -05:00 committed by GitHub
commit 59a5a155b4
1 changed files with 1 additions and 1 deletions

View File

@ -5375,7 +5375,7 @@ static void *stbi__tga_load(stbi__context *s, int *x, int *y, int *comp, int req
unsigned char *tga_data;
unsigned char *tga_palette = NULL;
int i, j;
unsigned char raw_data[4];
unsigned char raw_data[4] = {0};
int RLE_count = 0;
int RLE_repeating = 0;
int read_next_pixel = 1;