shithub: zelda3

Download patch

ref: 376b5d1c799e82e24dbe2bccce2135f2443752fa
parent: d9832e537c9d3c973bdefa02488a13e2ebca6993
author: Snesrev <snesrev@protonmail.com>
date: Fri Sep 2 18:25:21 EDT 2022

Add SDL_RenderClear(renderer)

--- a/main.c
+++ b/main.c
@@ -317,6 +317,7 @@
   }
   ppu_putPixels(GetPpuForRendering(), (uint8_t*) pixels);
   SDL_UnlockTexture(texture);
+  SDL_RenderClear(renderer);
   SDL_RenderCopy(renderer, texture, NULL, NULL);
 }