GRAPHICS: Restore layout debugging capabilities
This commit is contained in:
parent
c7ad2155fc
commit
a612b0a173
3 changed files with 10 additions and 3 deletions
|
@ -1265,8 +1265,15 @@ void ThemeEngine::updateScreen(bool render) {
|
|||
_screenQueue.clear();
|
||||
}
|
||||
|
||||
if (render)
|
||||
if (render) {
|
||||
#ifdef LAYOUT_DEBUG_DIALOG
|
||||
_vectorRenderer->fillSurface();
|
||||
_themeEval->debugDraw(&_screen, _font);
|
||||
_vectorRenderer->copyWholeFrame(_system);
|
||||
#else
|
||||
renderDirtyScreen();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
void ThemeEngine::addDirtyRect(Common::Rect r) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue