mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 14:18:37 +00:00
Corrected oversight in earlier ifdef simplification which leads to compilation failure if ENABLE_16BIT is not defined.
svn-id: r41581
This commit is contained in:
parent
cb56169a27
commit
db9cfc6f96
@ -133,11 +133,9 @@ public:
|
||||
virtual void warpMouse(int x, int y); // overloaded by CE backend (FIXME)
|
||||
|
||||
// Set the bitmap that's used when drawing the cursor.
|
||||
#ifdef ENABLE_16BIT
|
||||
virtual void setMouseCursor(const byte *buf, uint w, uint h, int hotspot_x, int hotspot_y, uint32 keycolor, int cursorTargetScale); // overloaded by CE backend (FIXME)
|
||||
#ifdef ENABLE_16BIT
|
||||
virtual void setCursorFormat(Graphics::PixelFormat format);
|
||||
#else
|
||||
virtual void setMouseCursor(const byte *buf, uint w, uint h, int hotspot_x, int hotspot_y, byte keycolor, int cursorTargetScale); // overloaded by CE backend (FIXME)
|
||||
#endif
|
||||
|
||||
// Set colors of cursor palette
|
||||
|
@ -719,11 +719,9 @@ public:
|
||||
* @param keycolor transparency color index
|
||||
* @param cursorTargetScale scale factor which cursor is designed for
|
||||
*/
|
||||
#ifdef ENABLE_16BIT
|
||||
virtual void setMouseCursor(const byte *buf, uint w, uint h, int hotspotX, int hotspotY, uint32 keycolor = 0xFFFFFFFF, int cursorTargetScale = 1) = 0;
|
||||
#ifdef ENABLE_16BIT
|
||||
virtual void setCursorFormat(Graphics::PixelFormat format) = 0;
|
||||
#else
|
||||
virtual void setMouseCursor(const byte *buf, uint w, uint h, int hotspotX, int hotspotY, byte keycolor = 255, int cursorTargetScale = 1) = 0;
|
||||
#endif
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user