Always use stable_sort to avoid flickering with alpha blending
This commit is contained in:
parent
d55eb56d78
commit
b0b9f44aeb
@ -193,7 +193,7 @@ void GEVulkanDrawCall::generate()
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
std::sort(visible_nodes.begin(), visible_nodes.end(),
|
std::stable_sort(visible_nodes.begin(), visible_nodes.end(),
|
||||||
[&nodes_area](const Nodes& a, const Nodes& b)
|
[&nodes_area](const Nodes& a, const Nodes& b)
|
||||||
{
|
{
|
||||||
return nodes_area.at(a.first) < nodes_area.at(b.first) ;
|
return nodes_area.at(a.first) < nodes_area.at(b.first) ;
|
||||||
|
Loading…
Reference in New Issue
Block a user