Browse Source

Update rl_gputex.h

pull/5111/head
Ray 1 month ago
parent
commit
cd1c206676
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/external/rl_gputex.h

+ 2
- 2
src/external/rl_gputex.h View File

@ -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…
Cancel
Save