Bypass unused code so we still compile while the mountains crumble and smoke rises from the waters.

This commit is contained in:
Gregory A Lundberg 2018-03-19 16:47:32 -05:00
parent f62ad8b1df
commit de218da637
No known key found for this signature in database
GPG key ID: 149484078AE8AE9E

View file

@ -1146,6 +1146,7 @@ void display::draw_all_panels()
render_buttons();
}
#if 0
static void draw_background(const SDL_Rect& area, const std::string& image)
{
// No background image, just fill in black.
@ -1163,6 +1164,7 @@ static void draw_background(const SDL_Rect& area, const std::string& image)
SDL_Rect a = area;
CVideo::get_singleton().render_copy(background, nullptr, &a);
}
#endif
int display::draw_text_in_hex(const map_location& loc,
const std::string& text,