mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-12 14:28:15 +00:00
[texture] image data initialization
This commit is contained in:
@@ -548,6 +548,12 @@ static ImageEx LoadDDS(const char *fileName)
|
|||||||
|
|
||||||
ImageEx image;
|
ImageEx image;
|
||||||
ddsHeader header;
|
ddsHeader header;
|
||||||
|
|
||||||
|
image.data = NULL;
|
||||||
|
image.width = 0;
|
||||||
|
image.height = 0;
|
||||||
|
image.mipmaps = 0;
|
||||||
|
image.compFormat = 0;
|
||||||
|
|
||||||
FILE *ddsFile = fopen(fileName, "rb");
|
FILE *ddsFile = fopen(fileName, "rb");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user