Bypass unused code so we still compile while the mountains crumble and smoke rises from the waters.
This commit is contained in:
parent
f62ad8b1df
commit
de218da637
1 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue