Attempt to fix console spam about images not drawing when running the tests
I don't think there's really any point drawing the UI in non-interactive mode.
This commit is contained in:
parent
f54b3f7225
commit
ea2ae55159
1 changed files with 1 additions and 2 deletions
|
@ -292,8 +292,7 @@ window::window(const builder_window::window_resolution* definition)
|
|||
|
||||
connect();
|
||||
|
||||
if (!video_.faked())
|
||||
{
|
||||
if(!video_.faked() && !video_.non_interactive()) {
|
||||
connect_signal<event::DRAW>(std::bind(&window::draw, this));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue