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:
parent
29b12782a8
commit
fbfa82c6b1
1 changed files with 0 additions and 4 deletions
|
@ -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_;
|
||||
|
|
Loading…
Add table
Reference in a new issue