Initial support for intensity-tinted alpha watermark

This commit is contained in:
Lauri Kasanen
2023-02-17 14:04:32 +02:00
parent 61613c4e65
commit ae93cd6840
19 changed files with 407 additions and 3 deletions

View File

@@ -1777,6 +1777,9 @@ void VNCSConnectionST::udpDowngrade(const bool byServer)
cp.useCopyRect = true;
encodeManager.resetZlib();
if (Server::DLP_WatermarkImage[0])
cp.useCopyRect = false;
vlog.info("Client %s downgrading from udp by %s", sock->getPeerAddress(),
byServer ? "the server" : "its own request");
}