Fix render bug by setting cache dirty on start
This commit is contained in:
parent
bcf94cd105
commit
fea2379d58
1 changed files with 1 additions and 0 deletions
|
@ -46,6 +46,7 @@ bgColor(sf::Color::Black)
|
||||||
flags.reset(8);
|
flags.reset(8);
|
||||||
} else {
|
} else {
|
||||||
flags.set(8);
|
flags.set(8);
|
||||||
|
flags.set(7);
|
||||||
drawCacheSprite.setTexture(drawCache.getTexture(), true);
|
drawCacheSprite.setTexture(drawCache.getTexture(), true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue