Windowed mode and pixel doubling conflict poorly

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
User avatar
edward850
Posts: 5886
Joined: Tue Jul 19, 2005 9:06 pm
Location: New Zealand
Contact:

Windowed mode and pixel doubling conflict poorly

Post by edward850 »

If you're running ZDoom in windowed mode and enable pixel doubling, the window ends up using the virtual width/height rather that the real values, meaning all you end up with is smaller screens rather than super sampling (well, sub sampling technically). This also means that running a real resolution of 1280x720 and -4 division causes ZDoom to fail creating the screen as it's vastly too small.

As an aside, the reported error uses the real resolution, while all the listed resolutions in the video menu use the virtual ones (even in fullscreen), making it tricky to tell what resolution you're actually picking.
User avatar
randi
Site Admin
Posts: 7746
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: Windowed mode and pixel doubling conflict poorly

Post by randi »

Well... pixel double was introduced specifically for fullscreen by silently halving the reported resolutions and then doubling up the pixels right when copying it to the screen. Not sure it's really worth changing when you can get the same effect in windowed mode just by dragging the window larger.
User avatar
NeuralStunner
 
 
Posts: 12326
Joined: Tue Jul 21, 2009 12:04 pm
Preferred Pronouns: He/Him
Graphics Processor: nVidia with Vulkan support
Location: capital N, capital S, no space
Contact:

Re: Windowed mode and pixel doubling conflict poorly

Post by NeuralStunner »

Well, besides that being imprecise and tedious to do each time. ;)

Having run ZDoom in a maximized window (on 5:4), I can say that arbitrary stretching is very strange.
User avatar
Rachael
Posts: 13562
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: Windowed mode and pixel doubling conflict poorly

Post by Rachael »

I agree with NeuralStunner - it would be great to see ZDoom do it automatically, even if only optionally. Having the computer do it just makes it look better, and the pixels end up being more even. When I do it manually, the stretching looks bad in the end.
Post Reply

Return to “Closed Bugs [GZDoom]”