Screen bugs out with D3D canvas and resolution scale !=1

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 a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: Screen bugs out with D3D canvas and resolution scale !=1

Re: Screen bugs out with D3D canvas and resolution scale !=1

by Rachael » Fri Feb 09, 2018 3:54 pm

Working on this one is definitely like tumbling down the rabbit hole in Alice in Wonderland.

The resolution code is so spaghetti right now that every time I change one thing to fix this, something else breaks.

I'm working on a fix for this, but it may need to be refactored down the line.

Screen bugs out with D3D canvas and resolution scale !=1

by DerTodIstEinDandy » Fri Feb 09, 2018 2:03 pm

When software canvas is set to Direct3D and resolution scale isn't 1, the engine can't run in fullscreen mode and always falls back to windowed.
In addition, if resolution scale is less than 1, the screen appears to be botched with only a fraction of it being rendered:



At least the following video modes are affected for me:
1360x768
1366x768 (native monitor resolution)
1980x1080
1024x640
800x500
Other modes like 800x600, 1024x768, 1280x720, 1280x768, 640x480, 720x480 etc are not affected.
None of this happens with OpenGL canvas.

Tested on gzdoom-g3.3pre-402-ged23008.
The system specs are: Windows 7 x64, GeForce GTX750 Ti, driver v.384.76

Top