mirror of
https://github.com/raysan5/raylib.git
synced 2026-01-30 18:59: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);
|
||||
|
||||
|
||||
@ -514,11 +514,11 @@ static void RecordAutomationEvent(void); // Record frame events (to internal eve
|
||||
|
||||
#if defined(_WIN32) && !defined(PLATFORM_DESKTOP_RGFW)
|
||||
// NOTE: We declare Sleep() function symbol to avoid including windows.h (kernel32.lib linkage required)
|
||||
__declspec(dllimport) void __stdcall Sleep(unsigned long msTimeout); // Required for: WaitTime()
|
||||
__declspec(dllimport) void __stdcall Sleep(unsigned long msTimeout); // Required for: WaitTime()
|
||||
#endif
|
||||
|
||||
#if !defined(SUPPORT_MODULE_RTEXT)
|
||||
const char *TextFormat(const char *text, ...); // Formatting of text with variables to 'embed'
|
||||
const char *TextFormat(const char *text, ...); // Formatting of text with variables to 'embed'
|
||||
#endif // !SUPPORT_MODULE_RTEXT
|
||||
|
||||
#if defined(PLATFORM_DESKTOP)
|
||||
|
||||
Reference in New Issue
Block a user