shithub: cstory

Download patch

ref: 2d5f6a547d2d31731885f65bb9a9be07ac107755
parent: 5e2846350913ceb3dd258aa61e1dc278d29d8b73
author: Clownacy <Clownacy@users.noreply.github.com>
date: Mon Sep 14 06:42:31 EDT 2020

Disable blending for the framebuffer

--- a/src/Backends/Rendering/SDLTexture.cpp
+++ b/src/Backends/Rendering/SDLTexture.cpp
@@ -96,6 +96,8 @@
 
 			if (framebuffer.texture != NULL)
 			{
+				SDL_SetTextureBlendMode(framebuffer.texture, SDL_BLENDMODE_NONE);
+
 				framebuffer.width = screen_width;
 				framebuffer.height = screen_height;