Ethan Lee
Ethan Lee
It does but just barely - we need this case to happen when moving the window causes a DPI change (moving from a 100% display to a 200% display for...
That would definitely be helpful, and we might be able to do it at a high level too: https://github.com/FNA-XNA/FNA/blob/master/src/FNAPlatform/SDL2_FNAPlatform.cs#L1026
> > But what if the window is half-way on display 1 and half-way on display 2? > > It depends on the system. Windows will pick the center of...
Turns out we already have the foundation to fix this, so I'm going to take care of this now. @Axilot, thanks for the patch, it helped us work out the...
Caused by a fix intended for high-DPI: https://github.com/libsdl-org/SDL/commit/cb8163081685fd97deba3c800bb8f10841b555a1 Not sure how we'd accommodate all situations - maybe we just scale current state instead of resetting, not sure.
I'm an idiot - we've had an event for display changes this whole time: https://github.com/libsdl-org/SDL/blob/main/include/SDL_video.h#L179 Fixing now.
Latest commit should take care of the window movement issue. Note that display changes will still shake up your viewport since applications have to handle drawable size being different on...
Going to try and write this either tonight or tomorrow - FNA's been shipping with libusb support for a while so we have _more_ than enough test data on our...
This is probably out of my range (unless someone has a full-binary sample I can run on Windows or macOS with dylibs?), but I did a quick search for `driver_loaded`...
This makes sense to me - previous commits for this loop: https://github.com/libsdl-org/SDL/commit/d1df34370ea0a0c919ce3babd91d5b26186663c5 https://github.com/libsdl-org/SDL/commit/367a8b9701108e20188a0a5b10dfbf14f4e16555 https://github.com/libsdl-org/SDL/commit/e731522578c664c615d3db81d3cc161790d59357 CC @icculus, this may interact with #3269.