From 564419562fc250b717b9a26454e9f5aa7ee5079e Mon Sep 17 00:00:00 2001 From: FunkyFr3sh Date: Wed, 13 Dec 2023 00:28:13 +0100 Subject: [PATCH] #270 always clear entire screen --- inc/version.h | 2 +- src/render_ogl.c | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/inc/version.h b/inc/version.h index 7d4039c..7a74663 100644 --- a/inc/version.h +++ b/inc/version.h @@ -7,7 +7,7 @@ #define VERSION_MAJOR 6 #define VERSION_MINOR 0 #define VERSION_BUILD 0 -#define VERSION_REVISION 5 +#define VERSION_REVISION 6 #define VERSION VERSION_MAJOR, VERSION_MINOR, VERSION_BUILD, VERSION_REVISION #define VERSION_STRING ver_str(VERSION_MAJOR, VERSION_MINOR, VERSION_BUILD, VERSION_REVISION) diff --git a/src/render_ogl.c b/src/render_ogl.c index 141073b..028e55e 100644 --- a/src/render_ogl.c +++ b/src/render_ogl.c @@ -804,10 +804,7 @@ static void ogl_render() LeaveCriticalSection(&g_ddraw->cs); - if (g_ddraw->render.viewport.x != 0 || g_ddraw->render.viewport.y != 0) - { - glClear(GL_COLOR_BUFFER_BIT); - } + glClear(GL_COLOR_BUFFER_BIT); if (scale_changed) {