mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-31 07:53:36 +00:00
GRAPHICS: Make PixelFormat::toString const.
This commit is contained in:
parent
b72d1b9bc7
commit
eee8ef9dce
@ -25,7 +25,7 @@
|
||||
|
||||
namespace Graphics {
|
||||
|
||||
Common::String PixelFormat::toString() {
|
||||
Common::String PixelFormat::toString() const {
|
||||
if (bytesPerPixel == 1)
|
||||
return "CLUT8";
|
||||
|
||||
|
@ -262,7 +262,7 @@ struct PixelFormat {
|
||||
return 0;
|
||||
}
|
||||
|
||||
Common::String toString();
|
||||
Common::String toString() const;
|
||||
};
|
||||
|
||||
} // End of namespace Graphics
|
||||
|
Loading…
x
Reference in New Issue
Block a user