ZVISION: Remove extraneous _needsScreenUpdate bool

This commit is contained in:
richiesams 2013-08-11 13:43:29 -05:00
parent f6033afa02
commit b76927ab4e
2 changed files with 0 additions and 5 deletions

View File

@ -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() {

View File

@ -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);