aboutsummaryrefslogtreecommitdiff
path: root/graphics/cursorman.cpp
diff options
context:
space:
mode:
authorJody Northup2009-07-08 16:07:58 +0000
committerJody Northup2009-07-08 16:07:58 +0000
commit828ed66555b99363fed62b4cbb83c36de68c3024 (patch)
tree954ef2912744813160ed95984808ac21c2b68a17 /graphics/cursorman.cpp
parent3e47aaa151ff751af867c57344b063c30f5f75f3 (diff)
downloadscummvm-rg350-828ed66555b99363fed62b4cbb83c36de68c3024.tar.gz
scummvm-rg350-828ed66555b99363fed62b4cbb83c36de68c3024.tar.bz2
scummvm-rg350-828ed66555b99363fed62b4cbb83c36de68c3024.zip
Reinstated static inline Graphics::PixelFormat::createFormatCLUT8(), which I am told was not supposed to be removed with the others.
svn-id: r42268
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 3dd7c1d023..b77aac37cf 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(1, 8, 8, 8, 8, 0, 0, 0, 0);
+ cur->_format = Graphics::PixelFormat::createFormatCLUT8();
#endif
g_system->setMouseCursor(cur->_data, w, h, hotspotX, hotspotY, keycolor, targetScale, format);