Browse Source

SDL_vulkan.h: Remove Tizen compatibility typedefs.

Any app for this system that wants to move to SDL3 will have to adjust to
all the other API changes anyhow, so there's no need to keep these anymore.

Fixes #9678.
Ryan C. Gordon 11 months ago
parent
commit
46b69af5a3
2 changed files with 2 additions and 3 deletions
  1. 2 0
      docs/README-migration.md
  2. 0 3
      include/SDL3/SDL_vulkan.h

+ 2 - 0
docs/README-migration.md

@@ -1835,3 +1835,5 @@ SDL_Vulkan_GetVkGetInstanceProcAddr() now returns `SDL_FunctionPointer` instead
 SDL_Vulkan_CreateSurface() now takes a VkAllocationCallbacks pointer as its third parameter. If you don't have an allocator to supply, pass a NULL here to use the system default allocator (SDL2 always used the system default allocator here).
 
 SDL_Vulkan_GetDrawableSize() has been removed. SDL_GetWindowSizeInPixels() can be used in its place.
+
+SDL_vulkanInstance and SDL_vulkanSurface have been removed. They were for compatibility with Tizen, who had built their own Vulkan interface into SDL2, but these apps will need changes for the SDL3 API if they are upgraded anyhow.

+ 0 - 3
include/SDL3/SDL_vulkan.h

@@ -56,9 +56,6 @@ struct VkAllocationCallbacks;
 
 #endif /* !NO_SDL_VULKAN_TYPEDEFS */
 
-typedef VkInstance SDL_vulkanInstance;
-typedef VkSurfaceKHR SDL_vulkanSurface; /* for compatibility with Tizen */
-
 /**
  *  \name Vulkan support functions
  */