Floating Label: added text to debug output if texture creation fails

This commit is contained in:
Charles Dang 2018-03-22 03:43:25 +11:00
parent a9afee6104
commit d0f7bfbf37

View file

@ -119,7 +119,7 @@ texture floating_label::create_texture()
texture_ = renderer.render_and_get_texture();
if(texture_.null()) {
ERR_FT << "could not create floating label's text" << std::endl;
ERR_FT << "could not create floating label's text (was '" << text_ << "')" << std::endl;
}
}