* CFrameBuffer::waitForIdle: Added a parameter

to identify the execution at Debug Output
- For example: name of the calling function
This commit is contained in:
Michael Liebmann
2013-05-17 19:44:16 +02:00
parent 5eb7f4aea8
commit d460c50bd5
3 changed files with 10 additions and 6 deletions

View File

@@ -443,7 +443,7 @@ void Font::RenderString(int x, int y, const int width, const char *text, const u
/* 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 */
frameBuffer->waitForIdle();
frameBuffer->waitForIdle("Font::RenderString");
#endif
/* fetch bgcolor from framebuffer, using lower left edge of the font... */
fb_pixel_t bgcolor = *(frameBuffer->getFrameBufferPointer() + x +