From 869257a5c1c68882eb875d92f2223191aee8f8a9 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 6 Nov 2023 19:16:38 -0500 Subject: [PATCH] SDL_migration.cocci: Added a thing for SDL_Vulkan_CreateSurface. --- build-scripts/SDL_migration.cocci | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build-scripts/SDL_migration.cocci b/build-scripts/SDL_migration.cocci index 8a6012e28..e4ac8a989 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