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.
pull/36/head
Pierre Ossman 6 years ago committed by Lauri Kasanen
parent 25b8e64adb
commit d7198cbe5d

@ -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…
Cancel
Save