BACKENDS: Make OSystem::setMouseCursor take a "const void *" buffer.
This is mainly for consistency with OSystem::copyRectToScreen.
This commit is contained in:
parent
58bf8090cc
commit
d27d951d0b
27 changed files with 35 additions and 35 deletions
|
@ -591,7 +591,7 @@ void OpenGLGraphicsManager::warpMouse(int x, int y) {
|
|||
setInternalMousePosition(scaledX, scaledY);
|
||||
}
|
||||
|
||||
void OpenGLGraphicsManager::setMouseCursor(const byte *buf, uint w, uint h, int hotspotX, int hotspotY, uint32 keycolor, bool dontScale, const Graphics::PixelFormat *format) {
|
||||
void OpenGLGraphicsManager::setMouseCursor(const void *buf, uint w, uint h, int hotspotX, int hotspotY, uint32 keycolor, bool dontScale, const Graphics::PixelFormat *format) {
|
||||
#ifdef USE_RGB_COLOR
|
||||
if (format)
|
||||
_cursorFormat = *format;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue