Changeset - r21657:3a07e4f14efa
[Not reviewed]
master
0 1 0
frosch - 10 years ago 2014-09-07 15:25:54
frosch@openttd.org
(svn r26792) -Fix: TC_NO_SHADE did not work for 32bpp text rendering.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/gfx.cpp
Show inline comments
 
@@ -435,7 +435,7 @@ static int DrawLayoutLine(const Paragrap
 
		int dpi_left  = dpi->left;
 
		int dpi_right = dpi->left + dpi->width - 1;
 

	
 
		draw_shadow = fc->GetDrawGlyphShadow() && colour != TC_BLACK;
 
		draw_shadow = fc->GetDrawGlyphShadow() && (colour & TC_NO_SHADE) == 0 && colour != TC_BLACK;
 

	
 
		for (int i = 0; i < run->GetGlyphCount(); i++) {
 
			GlyphID glyph = run->GetGlyphs()[i];
0 comments (0 inline, 0 general)