mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
fontrenderer: add hack to work around broken fullBG code
Origin commit data
------------------
Commit: dec601a9dc
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-09 (Thu, 09 Feb 2017)
This commit is contained in:
committed by
Michael Liebmann
parent
7a63618598
commit
03f996a8b8
@@ -425,7 +425,13 @@ void Font::RenderString(int x, int y, const int width, const char *text, const f
|
||||
return;
|
||||
|
||||
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;
|
||||
#endif
|
||||
/*
|
||||
useFullBg = false
|
||||
fetch bgcolor from framebuffer, using lower left edge of the font
|
||||
|
Reference in New Issue
Block a user