kraflab / dsda-doom

This is a successor of prboom+ with extra tooling for demo recording and playback, with a focus on speedrunning and quality of life.
341 stars 86 forks source link

Window scaling not accurate in software mode #531

Open Cooler-1 opened 1 week ago

Cooler-1 commented 1 week ago

Windowed mode does not scale properly in software mode. The window stays at 640x480, whereas in OpenGL mode it properly adjusts the size to 320x200, 320x240, 640x400, etc.

Pedro-Beirao commented 1 week ago

It scales properly for me in both software and opengl. Tested in Windows and MacOS. What OS are you using? And please attach a video of this issue

Cooler-1 commented 4 days ago

Windows 10

https://github.com/user-attachments/assets/76283109-cf81-4367-b03a-2c00235a35d7

KernelLeak commented 2 days ago

Would I be correct in saying that it's not so much the image not scaling properly, but the window changing it's size along with the resolution in OpenGL mode, but staying pretty much the same in software mode?

Pedro-Beirao commented 2 days ago

Ok I was wrong, I can reproduce. Thanks for the report. The window size changes, but it doenst change to the correct selected size.

I had tested it with big changes (like 1080p -> 200p), so it seemed fine at first glance

For example 200p -> 400p makes the windows slightly bigger, but not double the size