Sam Lantinga
Sam Lantinga
Have you looked at the SDL window shape API in SDL_shape.h?
It seems reasonable to add a hint for this. Anyone have a PR for this?
@slime73, how does this look?
I wasn't able to reproduce this using your test program and iOS 15.4.1, however the message box dispatching needs to happen on the main thread, which wasn't guaranteed before https://github.com/libsdl-org/SDL/commit/5613a5603245f600b36fe327c11c67f0e1ef2cc3....
Thank you for the video demonstrating the issue. I'm running the same test on an iPhone SE, and it's working fine. I'm also not seeing the window rotate when the...
Are you able to test this on an iPhone SE? Could it be related to the notch area?
I'll review these, with a comment for each platform.
OpenBSD: http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/ports/devel/sdl2/patches/patch-Makefile_in?rev=1.12&content-type=text/plain&hideattic=1 - Needs review (possibly by @smcv?) to understand the implication of this change. Definitely not desired at this point for all platforms. http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/ports/devel/sdl2/patches/patch-sdl2-config_cmake_in?rev=1.4&content-type=text/plain&hideattic=1 - Needs review (possibly by...
NetBSD: http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/pkgsrc/devel/SDL2/patches/patch-src_video_wayland_SDL__waylandmessagebox.c?rev=1.1&content-type=text/plain - Yeah, that was silly. Fixed in https://github.com/libsdl-org/SDL/commit/21100006ad41876db53060dc754423e369cc5a9c
FreeBSD: https://cgit.freebsd.org/ports/tree/devel/sdl20/Makefile - I'm not sure what's actionable here. The change from `_m_prefetch` to `__builtin_prefetch` seems like a good change, but should be guarded by preprocessor check for clang, and...