Floating Label: added text to debug output if texture creation fails
This commit is contained in:
parent
a9afee6104
commit
d0f7bfbf37
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue