diff --git a/build-scripts/SDL_migration.cocci b/build-scripts/SDL_migration.cocci index 8a6012e280..e4ac8a9899 100644 --- a/build-scripts/SDL_migration.cocci +++ b/build-scripts/SDL_migration.cocci @@ -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) \ No newline at end of file