Browse Source

fix Cocoa_Vulkan_GetInstanceExtensions prototype for Mac

Ozkan Sezer 1 year ago
parent
commit
5e869d1b35
1 changed files with 2 additions and 3 deletions
  1. 2 3
      src/video/cocoa/SDL_cocoavulkan.h

+ 2 - 3
src/video/cocoa/SDL_cocoavulkan.h

@@ -36,9 +36,8 @@
 
 int Cocoa_Vulkan_LoadLibrary(SDL_VideoDevice *_this, const char *path);
 void Cocoa_Vulkan_UnloadLibrary(SDL_VideoDevice *_this);
-SDL_bool Cocoa_Vulkan_GetInstanceExtensions(SDL_VideoDevice *_this,
-                                            unsigned *count,
-                                            const char **names);
+char const* const* Cocoa_Vulkan_GetInstanceExtensions(SDL_VideoDevice *_this,
+                                                      Uint32 *count);
 SDL_bool Cocoa_Vulkan_CreateSurface(SDL_VideoDevice *_this,
                                     SDL_Window *window,
                                     VkInstance instance,