Browse Source

[texture] image data initialization

pull/12/head
raysan5 10 years ago
parent
commit
08a4ee34eb
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      src/textures.c

+ 6
- 0
src/textures.c 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");

Loading…
Cancel
Save