HOPKINS: Fix cursor not scaling in OpenGL

This commit is contained in:
antoniou79 2023-06-24 12:39:54 +03:00 committed by Eugene Sandulenko
parent 865a8ed56c
commit c1197c2aad

View File

@ -522,7 +522,7 @@ void EventsManager::updateCursor() {
// Set the ScummVM cursor from the surface
CursorMan.replaceCursorPalette(cursorPalette, 0, PALETTE_SIZE - 1);
CursorMan.replaceCursor(cursorSurface, _vm->_objectsMan->getObjectWidth(), _vm->_objectsMan->getObjectHeight(),
xOffset, 0, 0, true);
xOffset, 0, 0, false);
// Delete the cursor surface and palette
delete[] cursorPalette;