GPU stats: Have each backend format its own string.

This commit is contained in:
Henrik Rydgard committed 2016-03-31 10:17:02 +02:00
1 parent 004c8b0fca
commit 5ef608fa50
13 files changed
+133 -63

No files matched your search

+1 -1
View File
@@ -824,7 +824,7 @@ void EmuScreen::checkPowerDown() {
}
static void DrawDebugStats(DrawBuffer *draw2d) {
char statbuf[4096] = { 0 };
char statbuf[4096];
__DisplayGetDebugStats(statbuf, sizeof(statbuf));
draw2d->SetFontScale(.7f, .7f);
draw2d->DrawText(UBUNTU24, statbuf, 11, 31, 0xc0000000, FLAG_DYNAMIC_ASCII);