Merge pull request #45843 from lawnjelly/ewok_backbuffer_sort_fix
Batching - prevent reordering items over a copybackbuffer
This commit is contained in:
commit
85f92a2463
|
@ -2716,6 +2716,11 @@ PREAMBLE(bool)::sort_items_from(int p_start) {
|
|||
return false;
|
||||
}
|
||||
|
||||
// disallow sorting over copy back buffer
|
||||
if (second.item->copy_back_buffer) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// which neighbour to test
|
||||
int test_last = 2 + bdata.settings_item_reordering_lookahead;
|
||||
for (int test = 2; test < test_last; test++) {
|
||||
|
|
Loading…
Reference in New Issue