1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-24 17:49:52 +01:00

don't use min macro

This commit is contained in:
FunkyFr3sh 2022-09-09 11:30:27 +02:00
parent 1e57228500
commit efad3e0fd5

View File

@ -393,8 +393,8 @@ DWORD WINAPI d3d9_render_main(void)
lock_rc.pBits, lock_rc.pBits,
0, 0,
0, 0,
min(g_ddraw->width, g_ddraw->primary->width), g_ddraw->primary->width,
min(g_ddraw->height, g_ddraw->primary->height), g_ddraw->primary->height,
lock_rc.Pitch, lock_rc.Pitch,
g_ddraw->primary->surface, g_ddraw->primary->surface,
0, 0,