Fix bad BasicCompression check in Tight decoder
This commit is contained in:
parent
18a68dfac1
commit
34f52a8f41
|
@ -56,7 +56,7 @@ export default class TightDecoder {
|
||||||
} else if (this._ctl === 0x0A) {
|
} else if (this._ctl === 0x0A) {
|
||||||
ret = this._pngRect(x, y, width, height,
|
ret = this._pngRect(x, y, width, height,
|
||||||
sock, display, depth);
|
sock, display, depth);
|
||||||
} else if ((this._ctl & 0x80) == 0) {
|
} else if ((this._ctl & 0x08) == 0) {
|
||||||
ret = this._basicRect(this._ctl, x, y, width, height,
|
ret = this._basicRect(this._ctl, x, y, width, height,
|
||||||
sock, display, depth);
|
sock, display, depth);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue