don't add 1 to min height
This commit is contained in:
parent
ded6255a03
commit
62bb150c71
1 changed files with 1 additions and 1 deletions
2
src/dd.c
2
src/dd.c
|
@ -685,7 +685,7 @@ HRESULT dd_SetDisplayMode(DWORD dwWidth, DWORD dwHeight, DWORD dwBPP, DWORD dwFl
|
|||
(float)g_ddraw->width / g_ddraw->height,
|
||||
&res,
|
||||
g_ddraw->width + 1, /* don't return the original resolution since we tested that one already */
|
||||
g_ddraw->height + 1,
|
||||
g_ddraw->height,
|
||||
g_ddraw->mode.dmPelsWidth,
|
||||
g_ddraw->mode.dmPelsHeight);
|
||||
|
||||
|
|
Loading…
Reference in a new issue