aboutsummaryrefslogtreecommitdiff
path: root/graphics/cursorman.h
diff options
context:
space:
mode:
authorJody Northup2009-07-07 07:50:40 +0000
committerJody Northup2009-07-07 07:50:40 +0000
commit2c5d11b67b35f93b2292c1ca56d0c9fc89608921 (patch)
tree6a1846b7ec765e7f1f4a07a107a103ae1925ec36 /graphics/cursorman.h
parent11717150e7c18286fa9b877830ddf5155ee99760 (diff)
downloadscummvm-rg350-2c5d11b67b35f93b2292c1ca56d0c9fc89608921.tar.gz
scummvm-rg350-2c5d11b67b35f93b2292c1ca56d0c9fc89608921.tar.bz2
scummvm-rg350-2c5d11b67b35f93b2292c1ca56d0c9fc89608921.zip
Removed PixelFormat convenience constructors at behest of Max and Eugene.
svn-id: r42207
Diffstat (limited to 'graphics/cursorman.h')
-rw-r--r--graphics/cursorman.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/cursorman.h b/graphics/cursorman.h
index ae7008f54c..b67241ab7b 100644
--- a/graphics/cursorman.h
+++ b/graphics/cursorman.h
@@ -181,13 +181,13 @@ private:
Cursor(const byte *data, uint w, uint h, int hotspotX, int hotspotY, uint32 keycolor = 0xFFFFFFFF, int targetScale = 1, const Graphics::PixelFormat *format = NULL) {
#ifdef ENABLE_RGB_COLOR
if (!format)
- _format = Graphics::PixelFormat::createFormatCLUT8();
+ _format = Graphics::PixelFormat(1, 8, 8, 8, 8, 0, 0, 0, 0);
else
_format = *format;
_size = w * h * _format.bytesPerPixel;
_keycolor &= ((1 << (_format.bytesPerPixel << 3)) - 1);
#else
- _format = Graphics::PixelFormat::createFormatCLUT8();
+ _format = Graphics::PixelFormat(1, 8, 8, 8, 8, 0, 0, 0, 0);
_size = w * h;
_keycolor &= 0xFF;
#endif