code review updates: sprite_atlas brackets and nullable removed for reuseIdentifier of annotationImage
This commit is contained in:
committed by
Minh Nguyễn
parent
af45d87e54
commit
b8be1f0632
@@ -187,12 +187,9 @@ void SpriteAtlas::updateDirty() {
|
||||
// The two names match;
|
||||
Holder& holder = imageIterator->second;
|
||||
holder.texture = spriteIterator->second;
|
||||
if (holder.texture != nullptr)
|
||||
{
|
||||
if (holder.texture != nullptr) {
|
||||
copy(holder, imageIterator->first.second);
|
||||
}
|
||||
else
|
||||
{
|
||||
} else {
|
||||
images.erase(imageIterator);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user