瀏覽代碼

Update rl_gputex.h

pull/5111/head
Ray 1 月之前
父節點
當前提交
cd1c206676
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      src/external/rl_gputex.h

+ 2
- 2
src/external/rl_gputex.h 查看文件

@ -585,7 +585,7 @@ int rl_save_ktx(const char *file_name, void *data, int width, int height, int fo
// KTX 2.0: UInt32 supercompressionScheme - 0 (None), 1 (Crunch CRN), 2 (Zlib DEFLATE)...
// KTX 2.0 defines additional header elements...
} ktx_header;
/*
Byte[12] identifier
UInt32 vkFormat
UInt32 typeSize
@ -596,7 +596,7 @@ int rl_save_ktx(const char *file_name, void *data, int width, int height, int fo
UInt32 faceCount
UInt32 levelCount
UInt32 supercompressionScheme
*/
// Calculate file data_size required
int data_size = sizeof(ktx_header);

Loading…
取消
儲存