GUI2/Canvas: don't skip drawing if canvas texture is null
This commit is contained in:
parent
9d90539fc7
commit
a0f8ad67a5
1 changed files with 1 additions and 1 deletions
|
@ -1390,7 +1390,7 @@ canvas::~canvas()
|
|||
void canvas::draw(const bool force)
|
||||
{
|
||||
log_scope2(log_gui_draw, "Canvas: drawing.");
|
||||
if(!is_dirty_ && !force) {
|
||||
if(!is_dirty_ && !force && !texture_.null()) {
|
||||
DBG_GUI_D << "Canvas: nothing to draw.\n";
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue