From 57eda6aef0a9d9c22dfd5971953cb26f112846d5 Mon Sep 17 00:00:00 2001 From: Vincent Pelletier Date: Sun, 30 Apr 2017 01:58:30 +0000 Subject: GRAPHICS: Include bytesPerPixel in toString representation --- graphics/pixelformat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'graphics/pixelformat.cpp') diff --git a/graphics/pixelformat.cpp b/graphics/pixelformat.cpp index 0a46411254..3134600c52 100644 --- a/graphics/pixelformat.cpp +++ b/graphics/pixelformat.cpp @@ -58,7 +58,7 @@ Common::String PixelFormat::toString() const { digits += '0' + 8 - componentLoss; } - return letters + digits; + return letters + digits + '@' + ('0' + bytesPerPixel); } } // End of namespace Graphics -- cgit v1.2.3