mirror of
https://github.com/amitbet/vncproxy.git
synced 2025-09-22 18:08:34 +00:00
fixed tight encoding, added the QEMU extended keys message (no way to test it)
This commit is contained in:
@@ -155,7 +155,7 @@ func handleTightFilters(subencoding uint8, pixelFmt *common.PixelFormat, rect *c
|
||||
if paletteSize == 2 {
|
||||
dataLength = int(rect.Height) * ((int(rect.Width) + 7) / 8)
|
||||
} else {
|
||||
dataLength = int(rect.Width * rect.Height)
|
||||
dataLength = int(rect.Width) * int(rect.Height)
|
||||
}
|
||||
_, err = r.ReadTightData(dataLength)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user