mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-12-15 19:05:32 +00:00
Renamed SDL_WINDOW_FOREIGN to SDL_WINDOW_EXTERNAL
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user