We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4564e39 commit e58e817Copy full SHA for e58e817
src/modules/draw.cpp
@@ -132,6 +132,9 @@ void asw::draw::text(const asw::Font& font,
132
SDL_Texture* textTexture =
133
SDL_CreateTextureFromSurface(asw::display::renderer, textSurface);
134
135
+ SDL_SetTextureBlendMode(textTexture, SDL_BLENDMODE_BLEND);
136
+ SDL_SetTextureScaleMode(textTexture, SDL_SCALEMODE_NEAREST);
137
+
138
SDL_FRect dest;
139
dest.x = position.x;
140
dest.y = position.y;
0 commit comments