mirror of
https://github.com/nothings/stb
synced 2024-12-15 12:22:55 +03:00
update stb_image.h
int raw_data[4] to 0, or the compiler bugs
This commit is contained in:
parent
d71aea034b
commit
7e989db555
@ -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
Block a user