RemoteDesktop: improve stability

This commit is contained in:
DanyLE
2022-08-17 18:04:04 +02:00
parent 9800f701e6
commit a4943e83d1
11 changed files with 35 additions and 21 deletions

View File

@@ -153,8 +153,6 @@ class WVNC
if not @socket
return
data = new Uint8Array msg.pixels
#w = @buffer.width * @scale
#h = @buffer.height * @scale
ctx = @canvas.getContext "2d", { alpha: false }
imgData = ctx.createImageData msg.w, msg.h
imgData.data.set data