diff --git a/src/driver/fontrenderer.cpp b/src/driver/fontrenderer.cpp index 21b967efc..cc04acff4 100644 --- a/src/driver/fontrenderer.cpp +++ b/src/driver/fontrenderer.cpp @@ -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... */