mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
fontrenderer: add hack to work around broken fullBG code
This commit is contained in:
committed by
M. Liebmann
parent
d498917594
commit
dec601a9dc
@@ -425,7 +425,13 @@ void Font::RenderString(int x, int y, const int width, const char *text, const f
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
const bool utf8_encoded = flags & IS_UTF8;
|
const bool utf8_encoded = flags & IS_UTF8;
|
||||||
|
#if HAVE_TRIPLEDRAGON
|
||||||
|
/* the TD Framebufffer is ARGB; the others are BGRA. The fullbg code does not handle that
|
||||||
|
* the quick workaround is to just disable the fullbg flag */
|
||||||
|
useFullBG = false;
|
||||||
|
#else
|
||||||
useFullBG = flags & FULLBG;
|
useFullBG = flags & FULLBG;
|
||||||
|
#endif
|
||||||
/*
|
/*
|
||||||
useFullBg = false
|
useFullBg = false
|
||||||
fetch bgcolor from framebuffer, using lower left edge of the font
|
fetch bgcolor from framebuffer, using lower left edge of the font
|
||||||
|
Reference in New Issue
Block a user