[texture] image data initialization

This commit is contained in:
raysan5 2014-12-17 19:47:17 +01:00
parent 1bd592fe67
commit 08a4ee34eb

View File

@ -548,6 +548,12 @@ static ImageEx LoadDDS(const char *fileName)
ImageEx image;
ddsHeader header;
image.data = NULL;
image.width = 0;
image.height = 0;
image.mipmaps = 0;
image.compFormat = 0;
FILE *ddsFile = fopen(fileName, "rb");