From 9c1f999425dd07ea0b4a5736ede2ecbeeaff01f4 Mon Sep 17 00:00:00 2001 From: TheAwesome98 <59254971+TheAwesome98-Real@users.noreply.github.com> Date: Sun, 22 May 2022 17:36:38 +0100 Subject: [PATCH] change rendertext to use blended --- ZSharp/graphics.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ZSharp/graphics.h b/ZSharp/graphics.h index 283504e..d84d207 100644 --- a/ZSharp/graphics.h +++ b/ZSharp/graphics.h @@ -554,7 +554,7 @@ public: { SDL_Color color = { r, g, b }; - SDL_Surface* surface = TTF_RenderText_Solid(font, content.c_str(), color); + SDL_Surface* surface = TTF_RenderText_Blended(font, content.c_str(), color); SDL_DestroyTexture(texture); texture = SDL_CreateTextureFromSurface(gRenderer, surface);