1
0
mirror of https://github.com/4yn/slidershim.git synced 2024-11-12 00:40:49 +01:00

fix diva slider lights byte order

This commit is contained in:
4yn 2022-02-23 00:34:34 +08:00
parent 35da7d4874
commit dedc8cace4

View File

@ -318,9 +318,9 @@ impl ThreadJob for DivaSliderJob {
.take(31)
.zip(lights_handle.ground.chunks(3).rev())
{
buf_chunk[0] = state_chunk[1];
buf_chunk[0] = state_chunk[2];
buf_chunk[1] = state_chunk[0];
buf_chunk[2] = state_chunk[2];
buf_chunk[2] = state_chunk[1];
}
lights_handle.dirty = false;
}