Open doocman opened 2 weeks ago
Sam bug as #11324 ?
Seems very similar at least. I see it on Windows and the referenced report is Android. I can say that querying the size of the window gives the expected result.
// Robin
On Sun, Nov 3, 2024, 18:29 Anthony @.***> wrote:
Sam bug as #11324 https://github.com/libsdl-org/SDL/issues/11324 ?
— Reply to this email directly, view it on GitHub https://github.com/libsdl-org/SDL/issues/11401#issuecomment-2453504308, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHEBBRVIZXQTG564XOHEKY3Z6ZMOVAVCNFSM6AAAAABRCXEIY6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJTGUYDIMZQHA . You are receiving this because you authored the thread.Message ID: @.***>
Compile the following code with SDL3:
and resize the window in width. The rectangles does not scale the way you would expect. Change
SHOW_SDL_BUG_WORKAROUND
to 1 and things will seem to work again.Error is seen on commit 615d2dcd5b6352aea50372745a05779e24ff8d31 and 802686699449289109f58b9ec4e6200f061e9dd2 . I have not experienced similar behaviour in SDL2.
System information: OS - Windows 11 Processor: Intel I7 1280P Graphics: Integrated Screen: Laptop screen with 2880x1600 (2x scaling in windows)