[Scummvm-git-logs] scummvm master -> 4b77a4f14844d1a508478e0184b1fb2abafc68a3
sev-
noreply at scummvm.org
Fri Sep 22 16:03:40 UTC 2023
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
4b77a4f148 GRAPHICS: MACGUI: Improve debug output in MacText rendering
Commit: 4b77a4f14844d1a508478e0184b1fb2abafc68a3
https://github.com/scummvm/scummvm/commit/4b77a4f14844d1a508478e0184b1fb2abafc68a3
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2023-09-22T18:03:07+02:00
Commit Message:
GRAPHICS: MACGUI: Improve debug output in MacText rendering
Changed paths:
graphics/macgui/mactext.cpp
diff --git a/graphics/macgui/mactext.cpp b/graphics/macgui/mactext.cpp
index 8bf1a1ce45c..802918d2ace 100644
--- a/graphics/macgui/mactext.cpp
+++ b/graphics/macgui/mactext.cpp
@@ -1113,7 +1113,7 @@ void MacText::render(int from, int to, int shadow) {
// TODO: _textMaxWidth, when -1, was not rendering ANY text.
for (int j = start; j != end; j += delta) {
- debug(9, "MacText::render: line %d[%d] h:%d at %d,%d (%s) fontid: %d fontsize: %d on %dx%d, fgcolor: %d bgcolor: %d, font: %p",
+ debug(9, "MacText::render: line %d[%d] h:%d at %d,%d (%s) fontid: %d fontsize: %d on %dx%d, fgcolor: %08x bgcolor: %08x, font: %p",
i, j, _textLines[i].height, xOffset, _textLines[i].y, _textLines[i].chunks[j].text.encode().c_str(),
_textLines[i].chunks[j].fontId, _textLines[i].chunks[j].fontSize, _surface->w, _surface->h, _textLines[i].chunks[j].fgcolor, _bgcolor,
(const void *)_textLines[i].chunks[j].getFont());
More information about the Scummvm-git-logs
mailing list