mirror of
https://github.com/raysan5/raylib.git
synced 2026-02-08 07:09:18 -05:00
Compare commits
2 Commits
2e652bbef1
...
0dc4ba53dc
| Author | SHA1 | Date | |
|---|---|---|---|
| 0dc4ba53dc | |||
| e4dfb6dbb5 |
2
src/external/rl_gputex.h
vendored
2
src/external/rl_gputex.h
vendored
@ -585,6 +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
|
||||
@ -597,6 +598,7 @@ int rl_save_ktx(const char *file_name, void *data, int width, int height, int fo
|
||||
UInt32 levelCount
|
||||
UInt32 supercompressionScheme
|
||||
*/
|
||||
|
||||
// Calculate file data_size required
|
||||
int data_size = sizeof(ktx_header);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user