Disable blending for the framebuffer

This commit is contained in:
Clownacy 2020-09-14 10:42:31 +01:00
parent 5e28463509
commit 2d5f6a547d

View file

@ -96,6 +96,8 @@ RenderBackend_Surface* RenderBackend_Init(const char *window_title, size_t scree
if (framebuffer.texture != NULL)
{
SDL_SetTextureBlendMode(framebuffer.texture, SDL_BLENDMODE_NONE);
framebuffer.width = screen_width;
framebuffer.height = screen_height;