mirror of
https://github.com/nunuhara/xsystem4.git
synced 2026-09-22 23:18:01 +03:00
Fix bug in gfx_draw_glyph
blend_amap_color_shader now uses the alpha value.
This commit is contained in:
@@ -798,6 +798,7 @@ void gfx_draw_glyph(Texture *dst, float dx, int dy, Texture *glyph, SDL_Color co
|
||||
data.r = color.r / 255.0;
|
||||
data.g = color.g / 255.0;
|
||||
data.b = color.b / 255.0;
|
||||
data.a = 1.0;
|
||||
|
||||
if (bold_width < 0.01) {
|
||||
run_copy_shader(&blend_amap_color_shader.s, dst, glyph, &data);
|
||||
|
||||
+1
-1
Submodule subprojects/libsys4 updated: 7ca4b3bbc7...1d25247558
Reference in New Issue
Block a user