mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-10 23:28:34 +02:00
fontrenderer: fix inverted logic for "rendering to buffer"
This commit is contained in:
@@ -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
|
/* 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
|
it's ready, otherwise the font will sometimes "be overwritten" with
|
||||||
background color or bgcolor will be wrong */
|
background color or bgcolor will be wrong */
|
||||||
if (buffer != NULL)
|
if (buffer == NULL)
|
||||||
frameBuffer->waitForIdle("Font::RenderString 1");
|
frameBuffer->waitForIdle("Font::RenderString 1");
|
||||||
if (!useFullBG) {
|
if (!useFullBG) {
|
||||||
/* 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