mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-12 04:36:15 +00:00
ZVISION: Remove extraneous _needsScreenUpdate bool
This commit is contained in:
parent
f6033afa02
commit
b76927ab4e
@ -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() {
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user