diff --git a/libs/video/renderer/sw/screen.c b/libs/video/renderer/sw/screen.c index 0c0cfafd8..87f4ec40b 100644 --- a/libs/video/renderer/sw/screen.c +++ b/libs/video/renderer/sw/screen.c @@ -250,23 +250,18 @@ SCR_UpdateScreen (double realtime, SCR_Func scr_3dfunc, SCR_Func *scr_funcs) vrect.width = vid.width; vrect.height = vid.height; vrect.next = 0; - - VID_Update (&vrect); } else if (scr_copytop) { vrect.x = 0; vrect.y = 0; vrect.width = vid.width; vrect.height = vid.height - vr_data.lineadj; vrect.next = 0; - - VID_Update (&vrect); } else { vrect.x = scr_vrect.x; vrect.y = scr_vrect.y; vrect.width = scr_vrect.width; vrect.height = scr_vrect.height; vrect.next = 0; - - VID_Update (&vrect); } + VID_Update (&vrect); } diff --git a/libs/video/renderer/sw32/screen.c b/libs/video/renderer/sw32/screen.c index 6a727667d..b77325904 100644 --- a/libs/video/renderer/sw32/screen.c +++ b/libs/video/renderer/sw32/screen.c @@ -208,23 +208,18 @@ sw32_SCR_UpdateScreen (double realtime, SCR_Func scr_3dfunc, SCR_Func *scr_funcs vrect.width = vid.width; vrect.height = vid.height; vrect.next = 0; - - VID_Update (&vrect); } else if (scr_copytop) { vrect.x = 0; vrect.y = 0; vrect.width = vid.width; vrect.height = vid.height - vr_data.lineadj; vrect.next = 0; - - VID_Update (&vrect); } else { vrect.x = scr_vrect.x; vrect.y = scr_vrect.y; vrect.width = scr_vrect.width; vrect.height = scr_vrect.height; vrect.next = 0; - - VID_Update (&vrect); } + VID_Update (&vrect); }