mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
fontrenderer: add hack to work around broken fullBG code
Origin commit data
------------------
Branch: ni/coolstream
Commit: 0f4e6298c8
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-09 (Thu, 09 Feb 2017)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -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