Ryan C. Gordon
Ryan C. Gordon
...Emscripten can use the browser's [Geolocation API](https://developer.mozilla.org/en-US/docs/Web/API/Geolocation_API)...
Pretty sure this means SDL _message boxes_ are broken, more generally. Have to look into the rules of X11 highdpi support.
> Should there be a standard way in SDL to locate the executable and its associated resources? There is, in SDL2: https://github.com/libsdl-org/SDL/blob/7ec9a4385a0829ef2f7b101ec93f68065ddd2571/include/SDL_filesystem.h#L40 > Should we remove this code from the...
I'm going to change this (on Haiku and macOS) to never change the current directory, since we have APIs to let the app discover folders it wants to go now,...
Ok, as of 663411ff77c18b7c09b5661af96ffac4805d14e1, SDL2 will only change the current working directory if the TERM environment variable isn't set. PR #10228, when merged, means SDL3 will _never_ chdir at all,...
I wonder if we're reading from the window framebuffer, but the actual pixels are on the new logical scaling render target thingy.
Oh, maybe not, it's working on X11 for me. Can you stick this in your example program right before `/* Main loop */` ... ```c SDL_RendererInfo info; SDL_GetRendererInfo(renderer, &info); printf("renderer:...
Can you force the SDL3 version to use XWayland instead? ```bash SDL_VIDEO_DRIVER=x11 ./mytestprogram ``` Just to rule out if it's some weird interaction in our Wayland backend.
CC'ing @flibitijibibo in case he has any immediate insight into why Wayland would have issues here where XWayland does not.
Can you tell us what renderers it landed in for SDL3 and SDL2? ```c++ SDL_RendererInfo info; SDL_GetRendererInfo(renderer,&info); std::cout