[Scummvm-git-logs] scummvm master -> 57eda6aef0a9d9c22dfd5971953cb26f112846d5

sev- sev at scummvm.org
Sat May 27 09:39:11 CEST 2017


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:
57eda6aef0 GRAPHICS: Include bytesPerPixel in toString representation


Commit: 57eda6aef0a9d9c22dfd5971953cb26f112846d5
    https://github.com/scummvm/scummvm/commit/57eda6aef0a9d9c22dfd5971953cb26f112846d5
Author: Vincent Pelletier (plr.vincent at gmail.com)
Date: 2017-05-27T09:39:08+02:00

Commit Message:
GRAPHICS: Include bytesPerPixel in toString representation

Changed paths:
    graphics/pixelformat.cpp


diff --git a/graphics/pixelformat.cpp b/graphics/pixelformat.cpp
index 0a46411..3134600 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





More information about the Scummvm-git-logs mailing list