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.
This commit is contained in:
Pierre Ossman 2019-05-24 13:06:26 +02:00 committed by Lauri Kasanen
parent 1d4ada6815
commit 4c635f65d3

View File

@ -1290,18 +1290,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",