Commit e0e45e98 authored by Paul Tvete's avatar Paul Tvete
Browse files

Workaround for pixel format bug in first connection

It's overkill to do it every frame, but that's insignificant compared
to all the other work we do.
parent 50bba6b7
......@@ -749,6 +749,7 @@ void QVncClient::checkUpdate()
QImage screenImage = m_server->screenImage(&isFlipped);
if (m_encoder && !m_dirtyRegion.isEmpty() && !screenImage.isNull()) {
m_needConversion = pixelConversionNeeded();
m_currentImage = screenImage;
m_currentImageIsFlipped = isFlipped;
qsizetype writtenBefore = m_bytesWritten;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment