GRAPHICS: Make PixelFormat::toString const.

This commit is contained in:
Johannes Schickel 2015-11-16 16:03:44 +01:00
parent b72d1b9bc7
commit eee8ef9dce
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@
namespace Graphics {
Common::String PixelFormat::toString() {
Common::String PixelFormat::toString() const {
if (bytesPerPixel == 1)
return "CLUT8";

View File

@ -262,7 +262,7 @@ struct PixelFormat {
return 0;
}
Common::String toString();
Common::String toString() const;
};
} // End of namespace Graphics