aboutsummaryrefslogtreecommitdiff
path: root/graphics/pixelformat.cpp
AgeCommit message (Collapse)Author
2015-11-16GRAPHICS: Remove unused header include.Johannes Schickel
2015-11-16GRAPHICS: Rewrite PixelFormat::toString to be easier to understand.Johannes Schickel
2015-11-16GRAPHICS: Fix component order in PixelFormat::toString output.Johannes Schickel
Formerly components were printed from bottom to top, common notation is from top to bottom. For reference check how we name formats, like in for example: backends/graphics/openglsdl/openglsdl-graphics.cpp:190-230 backends/graphics/surfacesdl/surfacesdl-graphics.cpp:409-490 sherlock/scalpel/scalpel.cpp:207
2015-11-16GRAPHICS: Make PixelFormat::toString const.Johannes Schickel
2015-11-16GRAPHICS: Implemented utility function to print PixelFormatEugene Sandulenko