sdl12-compat: Leave the renderer draw color as black always.

From 0b2940458725a70f4067267888c524431adc1bff Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Fri, 26 Feb 2021 13:28:53 -0500
Subject: [PATCH] Leave the renderer draw color as black always.

It's only used to clear the framebuffer, so it's safe to set it
and forget it during init.
---
 src/SDL12_compat.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/SDL12_compat.c b/src/SDL12_compat.c
index 03822b5..c1addba 100644
--- a/src/SDL12_compat.c
+++ b/src/SDL12_compat.c
@@ -3111,10 +3111,9 @@ SDL_SetVideoMode(int width, int height, int bpp, Uint32 flags12)
         }
 
         SDL20_RenderSetLogicalSize(VideoRenderer20, width, height);
-        SDL20_SetRenderDrawColor(VideoRenderer20, 0, 0, 0, 255);
+        SDL20_SetRenderDrawColor(VideoRenderer20, 0, 0, 0, 255);  /* leave this black always, we only use it to clear the framebuffer. */
         SDL20_RenderClear(VideoRenderer20);
         SDL20_RenderPresent(VideoRenderer20);
-        SDL20_SetRenderDrawColor(VideoRenderer20, 255, 255, 255, 255);
 
         if (SDL20_GetRendererInfo(VideoRenderer20, &rinfo) < 0) {
             return EndVidModeCreate();
@@ -3448,9 +3447,7 @@ PresentScreen(void)
 
     SDL20_UnlockTexture(VideoTexture20);
 
-    SDL20_SetRenderDrawColor(VideoRenderer20, 0, 0, 0, 255);
     SDL20_RenderClear(VideoRenderer20);
-    SDL20_SetRenderDrawColor(VideoRenderer20, 255, 255, 255, 255);
     SDL20_RenderCopy(VideoRenderer20, VideoTexture20, NULL, NULL);
     SDL20_RenderPresent(VideoRenderer20);
     VideoSurfaceLastPresentTicks = SDL20_GetTicks();