1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-15 06:04:49 +01:00

don't add 1 to min height

This commit is contained in:
FunkyFr3sh 2023-08-25 21:39:30 +02:00
parent ded6255a03
commit 62bb150c71

View File

@ -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);