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:
parent
98ddc311fc
commit
b0be17b398
1 changed files with 2 additions and 5 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue