cygwin: patch vulkan headers for VKAPI_CALL and enable vulkan in cmake

This commit is contained in:
Ozkan Sezer
2026-05-16 14:56:40 +03:00
committed by Özkan Sezer
parent 2cd5cd2a42
commit b24feafaa2
2 changed files with 2 additions and 2 deletions

View File

@@ -36,7 +36,7 @@ extern "C"
* Function declaration: VKAPI_ATTR void VKAPI_CALL vkCommand(void);
* Function pointer type: typedef void (VKAPI_PTR *PFN_vkCommand)(void);
*/
#if defined(_WIN32)
#if defined(_WIN32) || defined(__CYGWIN__) /* __CYGWIN__ added by SDL */
// On Windows, Vulkan commands use the stdcall convention
#define VKAPI_ATTR
#define VKAPI_CALL __stdcall