Consume data properly in Hextile decoder
We accidentally removed the code updating the data index in 8a189a6
,
resulting in the decoder newer consuming any data. So the data would
be parsed as the next rect, causing weird errors.
This commit is contained in:
parent
36bfcb0714
commit
17eea9574d
|
@ -129,6 +129,7 @@ export default class HextileDecoder {
|
||||||
}
|
}
|
||||||
display.finishTile();
|
display.finishTile();
|
||||||
}
|
}
|
||||||
|
sock.rQi = rQi;
|
||||||
this._lastsubencoding = subencoding;
|
this._lastsubencoding = subencoding;
|
||||||
this._tiles--;
|
this._tiles--;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue