shithub: pt2-clone

Download patch

ref: 5995ae5095d6c372386b5430c76e7d92db970b53
parent: 8d634e5bebdcb565e7e253b7897c960e81ef5470
author: Olav Sørensen <olav.sorensen@live.no>
date: Sat Jun 19 17:05:18 EDT 2021

Update pt2_visuals.c

--- a/src/pt2_visuals.c
+++ b/src/pt2_visuals.c
@@ -2112,7 +2112,7 @@
 	SDL_UpdateTexture(video.texture, NULL, video.frameBuffer, SCREEN_W * sizeof (int32_t));
 
 	// SDL2 bug on Windows (?): This function consumes ever-increasing memory if the program is minimized
-	if (!minimized) 
+	if (!minimized)
 		SDL_RenderClear(video.renderer);
 
 	SDL_RenderCopy(video.renderer, video.texture, NULL, NULL);