[Scummvm-git-logs] scummvm master -> 4a0d9c26654c0ffe83f48222e3c4fc8fc569341d
phcoder
noreply at scummvm.org
Tue Jan 17 10:48:25 UTC 2023
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
4a0d9c2665 SDL: Add missing init of _prevCursorNeedsRedraw
Commit: 4a0d9c26654c0ffe83f48222e3c4fc8fc569341d
https://github.com/scummvm/scummvm/commit/4a0d9c26654c0ffe83f48222e3c4fc8fc569341d
Author: Vladimir Serbinenko (phcoder at gmail.com)
Date: 2023-01-17T13:48:20+03:00
Commit Message:
SDL: Add missing init of _prevCursorNeedsRedraw
Changed paths:
backends/graphics/surfacesdl/surfacesdl-graphics.cpp
diff --git a/backends/graphics/surfacesdl/surfacesdl-graphics.cpp b/backends/graphics/surfacesdl/surfacesdl-graphics.cpp
index 50d1f43caf0..2ec53097cfa 100644
--- a/backends/graphics/surfacesdl/surfacesdl-graphics.cpp
+++ b/backends/graphics/surfacesdl/surfacesdl-graphics.cpp
@@ -136,7 +136,9 @@ SurfaceSdlGraphicsManager::SurfaceSdlGraphicsManager(SdlEventSource *sdlEventSou
#endif
_transactionMode(kTransactionNone),
_scalerPlugins(ScalerMan.getPlugins()), _scalerPlugin(nullptr), _scaler(nullptr),
- _needRestoreAfterOverlay(false), _isInOverlayPalette(false), _isDoubleBuf(false), _prevForceRedraw(false), _numPrevDirtyRects(0) {
+ _needRestoreAfterOverlay(false), _isInOverlayPalette(false), _isDoubleBuf(false), _prevForceRedraw(false), _numPrevDirtyRects(0),
+ _prevCursorNeedsRedraw(false)
+{
// allocate palette storage
_currentPalette = (SDL_Color *)calloc(sizeof(SDL_Color), 256);
More information about the Scummvm-git-logs
mailing list