mirror of
https://github.com/DrBeef/Raze.git
synced 2025-01-18 23:21:43 +00:00
Windows: allow desktop-sized windowed modes, add 1680x1050 to defaults list.
git-svn-id: https://svn.eduke32.com/eduke32@3793 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
d1b1fe52d8
commit
5868097deb
2 changed files with 7 additions and 7 deletions
|
@ -48,7 +48,7 @@ char scantoasc[128] =
|
|||
|
||||
int32_t defaultres[][2] =
|
||||
{
|
||||
{1920, 1440}, {1920, 1200}, {1920, 1080}, {1600, 1200}, {1600, 900}, {1366, 768}, {1280, 1024},
|
||||
{1920, 1440}, {1920, 1200}, {1920, 1080}, {1680, 1050}, {1600, 1200}, {1600, 900}, {1366, 768}, {1280, 1024},
|
||||
{1280, 960}, {1152, 864}, {1024, 768}, {1024, 600}, {800, 600}, {640, 480}, {640, 400},
|
||||
{512, 384}, {480, 360}, {400, 300}, {320, 240}, {320, 200}, {0, 0}
|
||||
};
|
||||
|
|
|
@ -1838,9 +1838,9 @@ void getvalidmodes(void)
|
|||
cdsenummodes();
|
||||
#endif
|
||||
|
||||
// windowed modes cant be bigger than the current desktop resolution
|
||||
maxx = desktopxdim-1;
|
||||
maxy = desktopydim-1;
|
||||
// Windowed modes can be as big as the current desktop resolution, but not bigger.
|
||||
maxx = desktopxdim+1;
|
||||
maxy = desktopydim+1;
|
||||
|
||||
// add windowed modes next
|
||||
for (j=0; j < 2; j++)
|
||||
|
|
Loading…
Reference in a new issue