Display: removed unnecessary getSurface check
This commit is contained in:
parent
f081a1c133
commit
94f172dbdd
1 changed files with 1 additions and 3 deletions
|
@ -212,9 +212,7 @@ display::display(const display_context * dc, std::weak_ptr<wb::manager> wb, repo
|
|||
|
||||
read(level.child_or_empty("display"));
|
||||
|
||||
if(video_.non_interactive()
|
||||
&& (video_.getSurface() != nullptr
|
||||
&& video_.faked())) {
|
||||
if(video_.non_interactive() && video_.faked()) {
|
||||
video_.lock_updates(true);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue