Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Accedi
Archivist
/
raylib-src
mirror da
https://github.com/raysan5/raylib
Segui
1
Vota
0
Forka
0
Codice
Problemi
0
Rilasci
24
Wiki
Attività
Sfoglia il codice sorgente
Update rtextures.c
pull/3029/head
Ray
2 anni fa
parent
64f2f86d32
commit
e2996f167e
1 ha cambiato i file
con
2 aggiunte
e
0 eliminazioni
Visualizzazione separata
Opzioni Diff
Mostra statistiche
Scarica il file Patch
Scarica il file Diff
+2
-0
src/rtextures.c
+ 2
- 0
src/rtextures.c
Vedi File
@ -525,6 +525,8 @@ bool ExportImage(Image image, const char *fileName)
{
int
success
=
0
;
if
(
(
image
.
width
=
=
0
)
|
|
(
image
.
height
=
=
0
)
|
|
(
image
.
data
=
=
NULL
)
)
return
success
;
#
if defined(SUPPORT_IMAGE_EXPORT)
int
channels
=
4
;
bool
allocatedData
=
false
;
Scrivi
Anteprima
Caricamento…
Annulla
Salva