Commit 70656b133c89c614422130b6c7e0a52cdccc6d4f

Sam Lantinga 2022-11-15T10:18:41

Don't recreate the window when creating a Metal renderer on an OpenGL window. It turns out that we can safely create a Metal view on an existing window, and that avoids issues with the window being recreated with the wrong orientation in iOS 16. Fixes https://github.com/libsdl-org/SDL/issues/6289