Renamed SDL_WINDOW_FOREIGN to SDL_WINDOW_EXTERNAL

This commit is contained in:
Sam Lantinga committed 2023-11-14 06:06:51 -08:00
1 parent 229b7b9d50
commit e0c45c6c98
10 files changed
+43 -42

No files matched your search

+1 -1
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) {