Renamed SDL_WINDOW_FOREIGN to SDL_WINDOW_EXTERNAL

This commit is contained in:
Sam Lantinga 2023-11-13 12:21:23 -08:00
parent 229b7b9d50
commit e0c45c6c98
10 changed files with 43 additions and 42 deletions

View file

@ -148,7 +148,7 @@ int main(int argc, char *argv[])
quit(3);
}
props = SDL_CreateProperties();
SDL_SetProperty(props, "native.data", native_window);
SDL_SetProperty(props, "sdl2-compat.external_window", native_window);
window = SDL_CreateWindowWithProperties(props);
SDL_DestroyProperties(props);
if (!window) {