本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
登入
Archivist
/
raylib-src
镜像来自
https://github.com/raysan5/raylib
關注
1
收藏
0
複製
0
程式碼
問題
0
版本發佈
24
Wiki
活動
瀏覽代碼
Update rtextures.c
pull/3029/head
Ray
2 年之前
父節點
64f2f86d32
當前提交
e2996f167e
共有
1 個檔案被更改
,包括
2 行新增
和
0 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
src/rtextures.c
+ 2
- 0
src/rtextures.c
查看文件
@ -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
;
Write
Preview
Loading…
取消
儲存