aboutsummaryrefslogtreecommitdiff
path: root/graphics/cursorman.cpp
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.cpp
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.cpp')
-rw-r--r--graphics/cursorman.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/cursorman.cpp b/graphics/cursorman.cpp
index b77aac37cf..3dd7c1d023 100644
--- a/graphics/cursorman.cpp
+++ b/graphics/cursorman.cpp
@@ -138,7 +138,7 @@ void CursorManager::replaceCursor(const byte *buf, uint w, uint h, int hotspotX,
if (format)
cur->_format = *format;
else
- cur->_format = Graphics::PixelFormat::createFormatCLUT8();
+ cur->_format = Graphics::PixelFormat(1, 8, 8, 8, 8, 0, 0, 0, 0);
#endif
g_system->setMouseCursor(cur->_data, w, h, hotspotX, hotspotY, keycolor, targetScale, format);