mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-03 02:17:39 +00:00
SDL_migration.cocci: Removed obsolete SDL_CreateWindowWithPosition code.
This won't handle conversion of SDL_CreateWindow calls with arbitrary positions, but it still will handle the common UNDEFINED scenario. Fixes #11035.
This commit is contained in:
parent
f4cea5e019
commit
1bb7e2b1a8
1 changed files with 0 additions and 5 deletions
|
@ -2478,11 +2478,6 @@ expression e1, e2, e3, e4;
|
|||
- SDL_CreateWindow(e1, SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, e2, e3, e4)
|
||||
+ SDL_CreateWindow(e1, e2, e3, e4)
|
||||
@@
|
||||
expression e1, e2, e3, e4, e5, e6;
|
||||
@@
|
||||
- SDL_CreateWindow(e1, e2, e3, e4, e5, e6)
|
||||
+ SDL_CreateWindowWithPosition(e1, e2, e3, e4, e5, e6)
|
||||
@@
|
||||
expression e1, e2, e3, e4;
|
||||
constant c1, c2;
|
||||
@@
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue