aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/cine/pal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/cine/pal.h b/engines/cine/pal.h
index 03c146a69d..47d45f7e76 100644
--- a/engines/cine/pal.h
+++ b/engines/cine/pal.h
@@ -93,8 +93,9 @@ public:
/*! \brief Create an initially black palette with the given color format and number of colors.
* \param format Color format
* \param numColors Number of colors
+ * \note For the default constructed object (i.e. no parameters given) this will hold: empty() && !isValid()
*/
- Palette(const Graphics::PixelFormat format, const uint numColors);
+ Palette(const Graphics::PixelFormat format = Graphics::PixelFormat(), const uint numColors = 0);
/*! \brief Clear the palette (Set color count to zero, release memory, overwrite color format with default value).
* \note This is very different from using fillWithBlack-function which fills the palette with black.