mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
- Relax the restriction that display resolutions must be a multiple of 8 so that they only need be even. The software wiping code requires multiples of two, so odd resolutions cannot be supported without requiring hardware-acceleration (which can be toggled off at any time with immediate effects). The code that required multiples of 8 no longer seems to be present, so now people with cheapo 1366x768 laptop panels can run fullscreen properly.
SVN r3166 (trunk)
This commit is contained in:
parent
c8e8edb1c5
commit
c52d9ec1b9
1 changed files with 1 additions and 1 deletions
|
@ -497,7 +497,7 @@ void Win32Video::AddLetterboxModes ()
|
|||
void Win32Video::AddMode (int x, int y, int bits, int y2, int doubling)
|
||||
{
|
||||
// Reject modes that do not meet certain criteria.
|
||||
if ((x & 7) != 0 ||
|
||||
if ((x & 1) != 0 ||
|
||||
y > MAXHEIGHT ||
|
||||
x > MAXWIDTH ||
|
||||
y < 200 ||
|
||||
|
|
Loading…
Reference in a new issue