Kaydet (Commit) 27953088 authored tarafından Michael Meeks's avatar Michael Meeks

tdf#96690 - don't copy tiny non-rendered-to virtual devices.

Change-Id: Ic9d90bb7f652599b5a6ce303aa026b7e4e255324
üst afb5bd25
......@@ -1649,6 +1649,13 @@ void OpenGLSalGraphicsImpl::DoCopyBits( const SalTwoRect& rPosAry, OpenGLSalGrap
{
VCL_GL_INFO( "::copyBits" );
if( !rImpl.maOffscreenTex )
{
VCL_GL_INFO( "::copyBits - skipping copy of un-initialized framebuffer contents of size "
<< rImpl.GetWidth() << "x" << rImpl.GetHeight() );
return;
}
if( &rImpl == this &&
(rPosAry.mnSrcWidth == rPosAry.mnDestWidth) &&
(rPosAry.mnSrcHeight == rPosAry.mnDestHeight))
......
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