Skip to content

Commit

Permalink
Remove error message if creating texture for floating label fails
Browse files Browse the repository at this point in the history
Textures can't be created with faked video. That's pretty much the only
reason why creating that texture can ever fail (other cases, such as
credits, stress the text rendering system much more than floating labels).
  • Loading branch information
jyrkive committed Mar 24, 2018
1 parent 29b1278 commit fbfa82c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/floating_label.cpp
Expand Up @@ -117,10 +117,6 @@ texture floating_label::create_texture()
renderer.set_text(text_, use_markup_);

texture_ = renderer.render_and_get_texture();

if(texture_.null()) {
ERR_FT << "could not create floating label's text (was '" << text_ << "')" << std::endl;
}
}

return texture_;
Expand Down

0 comments on commit fbfa82c

Please sign in to comment.