From 755d6eae993a904c60122c4f6341c225d407ae5a Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Fri, 24 May 2019 13:06:26 +0200 Subject: [PATCH] Remove server pixel format warnings These are harmless and really only for debugging. So remove them as they tend to trick people in to thinking something is wrong. We already print the entire server pixel format earlier anyway in case we need the details. --- core/rfb.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/core/rfb.js b/core/rfb.js index 89b8130d..85c9a93f 100644 --- a/core/rfb.js +++ b/core/rfb.js @@ -1182,18 +1182,6 @@ export default class RFB extends EventTargetMixin { ", green_shift: " + green_shift + ", blue_shift: " + blue_shift); - if (big_endian !== 0) { - Log.Warn("Server native endian is not little endian"); - } - - if (red_shift !== 16) { - Log.Warn("Server native red-shift is not 16"); - } - - if (blue_shift !== 0) { - Log.Warn("Server native blue-shift is not 0"); - } - // we're past the point where we could backtrack, so it's safe to call this this.dispatchEvent(new CustomEvent( "desktopname",