diff --git a/src/preferences/general.cpp b/src/preferences/general.cpp index ad652f324be..3ef915bca38 100644 --- a/src/preferences/general.cpp +++ b/src/preferences/general.cpp @@ -72,8 +72,6 @@ const int def_window_height = 720; const int min_font_scaling = 80; const int max_font_scaling = 150; -const SCALING_ALGORITHM default_scaling_algorithm = SCALING_ALGORITHM::XBRZ_NN; - class prefs_event_handler : public events::sdl_handler { public: virtual void handle_event(const SDL_Event &) {} diff --git a/src/preferences/general.hpp b/src/preferences/general.hpp index 196a750b37e..02d51ce9d50 100644 --- a/src/preferences/general.hpp +++ b/src/preferences/general.hpp @@ -18,7 +18,6 @@ #include "config.hpp" #include "terrain/translation.hpp" -#include "utils/make_enum.hpp" #include @@ -45,15 +44,6 @@ namespace preferences { extern const int min_font_scaling; extern const int max_font_scaling; - MAKE_ENUM(SCALING_ALGORITHM, - (LINEAR, "linear") - (NEAREST_NEIGHBOR, "nn") - (XBRZ_LIN, "xbrzlin") - (XBRZ_NN, "xbrznn") - ) - - extern const SCALING_ALGORITHM default_scaling_algorithm; - void write_preferences(); void set(const std::string& key, const std::string &value);