Display: removed now-unused map_screenshot_surface_
Unused as of 3a768cbdbe
. It was needed for get_screen_surface(), which is used in
drawing_queue, but that's going to be removed soon.
This commit is contained in:
parent
f80fabfe30
commit
504d4d2ff4
2 changed files with 1 additions and 4 deletions
|
@ -197,7 +197,6 @@ display::display(const display_context * dc, std::weak_ptr<wb::manager> wb, repo
|
|||
, drawn_hexes_(0)
|
||||
, idle_anim_(preferences::idle_anim())
|
||||
, idle_anim_rate_(1.0)
|
||||
, map_screenshot_surf_(nullptr)
|
||||
, redraw_observers_()
|
||||
, draw_coordinates_(false)
|
||||
, draw_terrain_codes_(false)
|
||||
|
|
|
@ -251,7 +251,7 @@ public:
|
|||
/** return the screen surface or the surface used for map_screenshot. */
|
||||
surface& get_screen_surface()
|
||||
{
|
||||
return map_screenshot_ ? map_screenshot_surf_ : video_.getSurface();
|
||||
return video_.getSurface();
|
||||
}
|
||||
|
||||
virtual bool in_game() const
|
||||
|
@ -1105,8 +1105,6 @@ private:
|
|||
bool idle_anim_;
|
||||
double idle_anim_rate_;
|
||||
|
||||
surface map_screenshot_surf_;
|
||||
|
||||
std::vector<std::function<void(display&)>> redraw_observers_;
|
||||
|
||||
/** Debug flag - overlay x,y coords on tiles */
|
||||
|
|
Loading…
Add table
Reference in a new issue