typo
This commit is contained in:
parent
ea18f32300
commit
4c93c5535e
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ RendertargetVulkan::RendertargetVulkan(std::uint16_t sizeX, std::uint16_t sizeY)
|
||||||
|
|
||||||
void RendertargetVulkan::UpdateElements() {
|
void RendertargetVulkan::UpdateElements() {
|
||||||
elements.clear();
|
elements.clear();
|
||||||
std::sort(transform->children.begin(), transform->children.end(), [](Transform2D* a, Transform2D* b){ return a->anchor.z < b->anchor.z; });
|
std::sort(transform.children.begin(), transform.children.end(), [](Transform2D* a, Transform2D* b){ return a->anchor.z < b->anchor.z; });
|
||||||
for(Transform2D* child : transform.children) {
|
for(Transform2D* child : transform.children) {
|
||||||
SetOrderResursive(child);
|
SetOrderResursive(child);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue