mirror of https://github.com/nothings/stb.git
commit
59a5a155b4
|
@ -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_data;
|
||||||
unsigned char *tga_palette = NULL;
|
unsigned char *tga_palette = NULL;
|
||||||
int i, j;
|
int i, j;
|
||||||
unsigned char raw_data[4];
|
unsigned char raw_data[4] = {0};
|
||||||
int RLE_count = 0;
|
int RLE_count = 0;
|
||||||
int RLE_repeating = 0;
|
int RLE_repeating = 0;
|
||||||
int read_next_pixel = 1;
|
int read_next_pixel = 1;
|
||||||
|
|
Loading…
Reference in New Issue