Disable blending for the framebuffer
This commit is contained in:
parent
5e28463509
commit
2d5f6a547d
1 changed files with 2 additions and 0 deletions
|
@ -96,6 +96,8 @@ RenderBackend_Surface* RenderBackend_Init(const char *window_title, size_t scree
|
||||||
|
|
||||||
if (framebuffer.texture != NULL)
|
if (framebuffer.texture != NULL)
|
||||||
{
|
{
|
||||||
|
SDL_SetTextureBlendMode(framebuffer.texture, SDL_BLENDMODE_NONE);
|
||||||
|
|
||||||
framebuffer.width = screen_width;
|
framebuffer.width = screen_width;
|
||||||
framebuffer.height = screen_height;
|
framebuffer.height = screen_height;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue