diff options
Diffstat (limited to 'backends/graphics')
-rw-r--r-- | backends/graphics/opengl/opengl-graphics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/graphics/opengl/opengl-graphics.cpp b/backends/graphics/opengl/opengl-graphics.cpp index b239802a0f..a595d076db 100644 --- a/backends/graphics/opengl/opengl-graphics.cpp +++ b/backends/graphics/opengl/opengl-graphics.cpp @@ -402,7 +402,7 @@ void OpenGLGraphicsManager::updateScreen() { // Update changes to textures. _gameScreen->updateGLTexture(); - if (_cursor) { + if (_cursorVisible && _cursor) { _cursor->updateGLTexture(); } _overlay->updateGLTexture(); |