mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-01 09:27:39 +00:00
Renamed SDL_WINDOW_FOREIGN to SDL_WINDOW_EXTERNAL
This commit is contained in:
parent
229b7b9d50
commit
e0c45c6c98
10 changed files with 43 additions and 42 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue