Remove error message if creating texture for floating label fails

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).
This commit is contained in:
Jyrki Vesterinen 2018-03-24 11:38:19 +02:00
parent 29b12782a8
commit fbfa82c6b1

View file

@ -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_;