You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's no CreateWindowWithPosition anymore; this needs to create an SDL_PropertiesID, put values for SDL_PROP_WINDOW_CREATE_X_NUMBER and SDL_PROP_WINDOW_CREATE_Y_NUMBER in it, call SDL_CreateWindowWithProperties, and then SDL_DestroyProperties.
I don't know how to correctly express that in this file, if someone else can take a run at it.
The text was updated successfully, but these errors were encountered:
If the position is SDL_WINDOWPOS_UNDEFINED or SDL_WINDOWPOS_CENTERED, we can just use the new function and drop the position parameters. Otherwise, I think we don't touch it and let them look a the migration guide.
SDL_migration.cocci has a wrong entry that almost every user is going to hit:
There's no CreateWindowWithPosition anymore; this needs to create an SDL_PropertiesID, put values for SDL_PROP_WINDOW_CREATE_X_NUMBER and SDL_PROP_WINDOW_CREATE_Y_NUMBER in it, call SDL_CreateWindowWithProperties, and then SDL_DestroyProperties.
I don't know how to correctly express that in this file, if someone else can take a run at it.
The text was updated successfully, but these errors were encountered: