From a384ca387728c3be4d05def02fcf153b25780513 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Mon, 1 Jun 2009 11:52:48 +0000 Subject: [PATCH] DIBSectionBuffer can modify the pixel format so we need to read it back to make sure everything is synchronized. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1_0@3828 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- win/rfb_win32/ScaledDIBSectionBuffer.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/win/rfb_win32/ScaledDIBSectionBuffer.cxx b/win/rfb_win32/ScaledDIBSectionBuffer.cxx index 4e0557f4..752cd784 100644 --- a/win/rfb_win32/ScaledDIBSectionBuffer.cxx +++ b/win/rfb_win32/ScaledDIBSectionBuffer.cxx @@ -66,6 +66,7 @@ void ScaledDIBSectionBuffer::setPF(const PixelFormat &pf_) { } } else { DIBSectionBuffer::setPF(pf); + pf = format; } } -- 2.39.5