mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 09:28:15 +03:00
Draw outlines for colored characters correctly
If we try to draw a colored character, and the color is fully black, it means we're drawing the outline.
This commit is contained in:
committed by
Misa Elizabeth Kai
parent
4675238fa8
commit
9879fb2809
@@ -333,7 +333,7 @@ int print_char(
|
||||
return f->glyph_w * scale;
|
||||
}
|
||||
|
||||
if (glyph->flags & GLYPH_COLOR)
|
||||
if (glyph->flags & GLYPH_COLOR && (r | g | b) != 0)
|
||||
{
|
||||
graphics.draw_grid_tile(f->image, glyph->image_idx, x, y, f->glyph_w, f->glyph_h, 255, 255, 255, 255, scale, scale * (graphics.flipmode ? -1 : 1));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user