SDL_migration.cocci: Added a thing for SDL_Vulkan_CreateSurface.

main
Ryan C. Gordon 2023-11-06 19:16:38 -05:00
parent c6d9fb1ad7
commit 869257a5c1
No known key found for this signature in database
GPG Key ID: FA148B892AB48044
1 changed files with 5 additions and 0 deletions

View File

@ -2745,3 +2745,8 @@ expression e, n, v;
@@
- SDL_SetWindowData(e, n, v)
+ SDL_SetProperty(SDL_GetWindowProperties(e), n, v, NULL, NULL)
@@
expression w, i, s;
@@
- SDL_Vulkan_CreateSurface(w, i, s)
+ SDL_Vulkan_CreateSurface(w, i, NULL, s)