mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-10 21:03:31 +00:00
STARK: Draw the cursor relative to its hotspot
This commit is contained in:
parent
e75701d038
commit
8cdc1eb53e
@ -102,7 +102,7 @@ void Cursor::render() {
|
|||||||
_gfx->setScreenViewport(true); // The cursor is drawn unscaled
|
_gfx->setScreenViewport(true); // The cursor is drawn unscaled
|
||||||
if (_cursorImage) {
|
if (_cursorImage) {
|
||||||
_cursorImage->setFadeLevel(_fadeLevel);
|
_cursorImage->setFadeLevel(_fadeLevel);
|
||||||
_cursorImage->render(_mousePos, false);
|
_cursorImage->render(_mousePos, true);
|
||||||
}
|
}
|
||||||
if (_mouseText) {
|
if (_mouseText) {
|
||||||
// TODO: Should probably query the image for the width of the cursor
|
// TODO: Should probably query the image for the width of the cursor
|
||||||
|
Loading…
x
Reference in New Issue
Block a user