Skip to content

Commit

Permalink
ZVISION: Disable unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
bluegr committed Dec 24, 2014
1 parent 16e2083 commit de2c9ed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions engines/zvision/graphics/render_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 3 additions & 1 deletion engines/zvision/graphics/render_manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -328,8 +328,10 @@ class RenderManager {
// 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
Expand Down

0 comments on commit de2c9ed

Please sign in to comment.