mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-24 17:49:52 +01:00
don't add 1 to min height
This commit is contained in:
parent
ded6255a03
commit
62bb150c71
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,
|
(float)g_ddraw->width / g_ddraw->height,
|
||||||
&res,
|
&res,
|
||||||
g_ddraw->width + 1, /* don't return the original resolution since we tested that one already */
|
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.dmPelsWidth,
|
||||||
g_ddraw->mode.dmPelsHeight);
|
g_ddraw->mode.dmPelsHeight);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user