pgraph: sort "off" texture stages when loading from .bam

This fixes an issue where states loaded from .bam file containing more than one "off" texture stage would not compose properly.

Fixes #179
This commit is contained in:
rdb 2018-01-03 14:29:03 +01:00
parent ad58d5161f
commit 42f8978236

View File

@ -911,6 +911,7 @@ complete_pointers(TypedWritable **p_list, BamReader *manager) {
}
}
_on_stages.sort();
_off_stages.sort();
_sort_seq = UpdateSeq::old();
_filtered_seq = UpdateSeq::old();