Kaydet (Commit) 4f844244 authored tarafından Michael Meeks's avatar Michael Meeks Kaydeden (comit) Markus Mohrhard

vcl: assert more useful truths on BitmapWriterAccess completion.

Change-Id: I2ccc5eb64bf3b5d5ce94e2ddd4b9b458c3eda217

Conflicts:
	vcl/opengl/salbmp.cxx
üst 90742105
......@@ -527,6 +527,12 @@ void OpenGLSalBitmap::ReleaseBuffer( BitmapBuffer* pBuffer, bool bReadOnly )
// The palette is modified on read during the BitmapWriteAccess,
// but of course, often it is not modified; interesting.
maPalette = pBuffer->maPalette;
// Are there any more ground movements underneath us ?
assert( pBuffer->mnWidth == mnWidth );
assert( pBuffer->mnHeight == mnHeight );
assert( pBuffer->mnBitCount == mnBits );
delete pBuffer;
}
......
Markdown is supported
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