Reverted SDL_Vulkan_GetInstanceExtensions() API change

This function is commonly used with Vulkan structures that use uint32_t, so we should keep the Uint32 signature.
This commit is contained in:
Sam Lantinga 2024-03-05 13:39:42 -08:00
parent edbcef11ff
commit 9db68f97f9
6 changed files with 8 additions and 9 deletions

View file

@ -149,15 +149,14 @@ extern DECLSPEC void SDLCALL SDL_Vulkan_UnloadLibrary(void);
*
* You should not free the returned array; it is owned by SDL.
*
* \param count A pointer to an int that will be filled with the number of
* extensions returned.
* \param count a pointer filled in with the number of extensions returned.
* \returns An array of extension name strings on success, NULL on error.
*
* \since This function is available since SDL 3.0.0.
*
* \sa SDL_Vulkan_CreateSurface
*/
extern DECLSPEC char const* const* SDLCALL SDL_Vulkan_GetInstanceExtensions(int *count);
extern DECLSPEC char const* const* SDLCALL SDL_Vulkan_GetInstanceExtensions(Uint32 *count);
/**
* Create a Vulkan rendering surface for a window.