mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 01:41:12 +02:00
fontrenderer: fix inverted logic for "rendering to buffer"
Origin commit data
------------------
Commit: 9c2a21c9c1
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2018-02-04 (Sun, 04 Feb 2018)
This commit is contained in:
committed by
vanhofen
parent
5a2aaeb803
commit
1f9254cd95
@@ -575,7 +575,7 @@ void Font::RenderString(int x, int y, const int width, const char *text, const f
|
||||
/* the GXA seems to do it's job asynchonously, so we need to wait until
|
||||
it's ready, otherwise the font will sometimes "be overwritten" with
|
||||
background color or bgcolor will be wrong */
|
||||
if (buffer != NULL)
|
||||
if (buffer == NULL)
|
||||
frameBuffer->waitForIdle("Font::RenderString 1");
|
||||
if (!useFullBG) {
|
||||
/* fetch bgcolor from framebuffer, using lower left edge of the font... */
|
||||
|
Reference in New Issue
Block a user