aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Hoops2012-08-12 17:44:23 -0400
committerMatthew Hoops2012-08-12 17:44:23 -0400
commitc839fd50b5ddfcceada8cbbd3046ce219df248a0 (patch)
tree922054657914ae835b365fa6b4b22594f805bcef
parent90bb7a0f3f6261be9eb7bc1f62fcaf2609ebe2c6 (diff)
downloadscummvm-rg350-c839fd50b5ddfcceada8cbbd3046ce219df248a0.tar.gz
scummvm-rg350-c839fd50b5ddfcceada8cbbd3046ce219df248a0.tar.bz2
scummvm-rg350-c839fd50b5ddfcceada8cbbd3046ce219df248a0.zip
GRAPHICS: Clarify format of the palette in ImageDecoder
-rw-r--r--graphics/decoders/image_decoder.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/graphics/decoders/image_decoder.h b/graphics/decoders/image_decoder.h
index 7fa00749ff..830645d361 100644
--- a/graphics/decoders/image_decoder.h
+++ b/graphics/decoders/image_decoder.h
@@ -75,6 +75,9 @@ public:
* until destroy() or loadStream() is called, or until this ImageDecoder's
* destructor is called.
*
+ * The palette's format is the same as PaletteManager's palette
+ * (interleaved RGB values).
+ *
* @return the decoded palette, or 0 if no palette is present
*/
virtual const byte *getPalette() const { return 0; }