[texture] image data initialization
This commit is contained in:
parent
1bd592fe67
commit
08a4ee34eb
@ -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");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user