Kaydet (Commit) 3972a2fe authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Stopgap fix to avoid using a null CGContext

Change-Id: I445f09dd842b62e5153c53bb5af066af71d492bd
üst cc1a7748
......@@ -308,6 +308,12 @@ void AquaSalGraphics::copyBits( const SalTwoRect& rPosAry, SalGraphics *pSrcGrap
return;
}
#ifdef IOS
// If called from idle layout, mrContext is NULL, no idea what to do
if (!mrContext)
return;
#endif
// accelerate trivial operations
/*const*/ AquaSalGraphics* pSrc = static_cast<AquaSalGraphics*>(pSrcGraphics);
const bool bSameGraphics = (this == pSrc)
......
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