aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/zvision/render_manager.cpp2
-rw-r--r--engines/zvision/render_manager.h3
2 files changed, 0 insertions, 5 deletions
diff --git a/engines/zvision/render_manager.cpp b/engines/zvision/render_manager.cpp
index f759c1fb96..132c597140 100644
--- a/engines/zvision/render_manager.cpp
+++ b/engines/zvision/render_manager.cpp
@@ -39,7 +39,6 @@ RenderManager::RenderManager(OSystem *system, const int width, const int height)
_width(width),
_height(height),
_currentBackground(0),
- _needsScreenUpdate(false),
_renderTable(width, height) {
}
@@ -141,7 +140,6 @@ void RenderManager::renderImageToScreen(Common::SeekableReadStream &stream, uint
tga.destroy();
}
- _needsScreenUpdate = true;
}
RenderTable *RenderManager::getRenderTable() {
diff --git a/engines/zvision/render_manager.h b/engines/zvision/render_manager.h
index 4b4e178e91..6e267eb395 100644
--- a/engines/zvision/render_manager.h
+++ b/engines/zvision/render_manager.h
@@ -57,8 +57,6 @@ private:
Video::VideoDecoder *_currentVideo;
byte *_scaledVideoFrameBuffer;
- bool _needsScreenUpdate;
-
public:
void initialize();
@@ -94,7 +92,6 @@ public:
RenderTable *getRenderTable();
- bool needsScreenUpdate() { return _needsScreenUpdate; };
private:
void renderSubRectToScreen(uint16 *buffer, uint32 imageWidth, uint32 imageHeight, uint32 horizontalPitch, uint32 destinationX, uint32 destinationY, Common::Rect subRectangle, bool autoCenter);