Experiment: don't run the unit tests in fake interactive mode

This might not be needed anymore now that we no longer have a framebuffer surface.
This commit is contained in:
Charles Dang 2018-06-30 03:28:30 +11:00
parent 98ddc311fc
commit b0be17b398

View file

@ -72,13 +72,10 @@ game_display& fake_display_manager::get_display()
return disp_; return disp_;
} }
game_display& get_fake_display(const int width, const int height) game_display& get_fake_display(const int /*width*/, const int /*height*/)
{ {
game_display& display = fake_display_manager::get_manager()->get_display(); game_display& display = fake_display_manager::get_manager()->get_display();
display.video().make_fake();
if(width >= 0 && height >= 0) {
display.video().make_test_fake(width, height);
}
return display; return display;
} }