diff --git a/src/display.cpp b/src/display.cpp index 16e19d75938..c3708400505 100644 --- a/src/display.cpp +++ b/src/display.cpp @@ -197,7 +197,6 @@ display::display(const display_context * dc, std::weak_ptr 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) diff --git a/src/display.hpp b/src/display.hpp index 665e4fdb580..c59e810c430 100644 --- a/src/display.hpp +++ b/src/display.hpp @@ -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> redraw_observers_; /** Debug flag - overlay x,y coords on tiles */