]> source.dussan.org Git - tigervnc.git/commit
Clean up initialization of DIBSectionBuffer
authorPierre Ossman <ossman@cendio.se>
Fri, 3 Jan 2020 12:10:20 +0000 (13:10 +0100)
committerPierre Ossman <ossman@cendio.se>
Fri, 3 Jan 2020 12:10:20 +0000 (13:10 +0100)
commit73014910f56278a91e796ad8eed620196e289f47
tree90e1df0cd7d6db3cc04ba77e5e2b58f00bfe207d
parent0f1ded057dbf875e69a0d72418d95610db8fa6a3
Clean up initialization of DIBSectionBuffer

We had an unintentional conflict with PixelBuffer::setSize() here.
But we can simplify this further as this initialization is only used
by the subclass DeviceFrameBuffer, and only once.
win/rfb_win32/DIBSectionBuffer.cxx
win/rfb_win32/DIBSectionBuffer.h
win/rfb_win32/DeviceFrameBuffer.cxx
win/rfb_win32/DeviceFrameBuffer.h