aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2014-12-24 22:11:21 +0200
committerFilippos Karapetis2014-12-24 22:56:54 +0200
commitde2c9ed5bf9e3d41ad52de8aa0ddf383efa6b24d (patch)
tree6c17a2d41f92b6fec2dd7b8af28a56df990d519a /engines
parent16e208318cf75dbe290060663119d1c533f4dd7b (diff)
downloadscummvm-rg350-de2c9ed5bf9e3d41ad52de8aa0ddf383efa6b24d.tar.gz
scummvm-rg350-de2c9ed5bf9e3d41ad52de8aa0ddf383efa6b24d.tar.bz2
scummvm-rg350-de2c9ed5bf9e3d41ad52de8aa0ddf383efa6b24d.zip
ZVISION: Disable unused code
Diffstat (limited to 'engines')
-rw-r--r--engines/zvision/graphics/render_manager.cpp2
-rw-r--r--engines/zvision/graphics/render_manager.h4
2 files changed, 5 insertions, 1 deletions
diff --git a/engines/zvision/graphics/render_manager.cpp b/engines/zvision/graphics/render_manager.cpp
index 2f0d2a3a2c..01df82410f 100644
--- a/engines/zvision/graphics/render_manager.cpp
+++ b/engines/zvision/graphics/render_manager.cpp
@@ -983,9 +983,11 @@ void RenderManager::markDirty() {
_backgroundDirtyRect = Common::Rect(_backgroundWidth, _backgroundHeight);
}
+#if 0
void RenderManager::bkgFill(uint8 r, uint8 g, uint8 b) {
_currentBackgroundImage.fillRect(Common::Rect(_currentBackgroundImage.w, _currentBackgroundImage.h), _currentBackgroundImage.format.RGBToColor(r, g, b));
markDirty();
}
+#endif
} // End of namespace ZVision
diff --git a/engines/zvision/graphics/render_manager.h b/engines/zvision/graphics/render_manager.h
index 711c607c7b..c2dc169945 100644
--- a/engines/zvision/graphics/render_manager.h
+++ b/engines/zvision/graphics/render_manager.h
@@ -328,8 +328,10 @@ public:
// Mark whole background surface as dirty
void markDirty();
- // Fille background surface by color
+#if 0
+ // Fill background surface by color
void bkgFill(uint8 r, uint8 g, uint8 b);
+#endif
};
} // End of namespace ZVision