This website works better with JavaScript.
Home
Explore
Help
Sign In
Archivist
/
raylib-src
mirror of
https://github.com/raysan5/raylib
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
24
Wiki
Activity
Browse Source
[texture] image data initialization
pull/12/head
raysan5
10 years ago
parent
1bd592fe67
commit
08a4ee34eb
1 changed files
with
6 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
"
)
;
Write
Preview
Loading…
Cancel
Save