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:
Charles Dang 2018-06-16 15:20:23 +11:00
parent f54b3f7225
commit ea2ae55159

View file

@ -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));
}