mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-16 09:48:26 +00:00
Sync wiki -> headers.
This commit is contained in:
parent
01cba48d18
commit
197340ea1c
18 changed files with 291 additions and 273 deletions
|
@ -111,11 +111,13 @@ extern DECLSPEC int SDLCALL SDL_Vulkan_LoadLibrary(const char *path);
|
|||
* This should be called after either calling SDL_Vulkan_LoadLibrary() or
|
||||
* creating an SDL_Window with the `SDL_WINDOW_VULKAN` flag.
|
||||
*
|
||||
* The actual type of the returned function pointer is PFN_vkGetInstanceProcAddr,
|
||||
* but that isn't available because the Vulkan headers are not included here. You
|
||||
* should cast the return value of this function to that type, e.g.
|
||||
* The actual type of the returned function pointer is
|
||||
* PFN_vkGetInstanceProcAddr, but that isn't available because the Vulkan
|
||||
* headers are not included here. You should cast the return value of this
|
||||
* function to that type, e.g.
|
||||
*
|
||||
* `vkGetInstanceProcAddr = (PFN_vkGetInstanceProcAddr)SDL_Vulkan_GetVkGetInstanceProcAddr();`
|
||||
* `vkGetInstanceProcAddr =
|
||||
* (PFN_vkGetInstanceProcAddr)SDL_Vulkan_GetVkGetInstanceProcAddr();`
|
||||
*
|
||||
* \returns the function pointer for `vkGetInstanceProcAddr` or NULL on error.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue