mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 923309 - Don't flush CGContext drawing to the window when we're only meant to be completing any pending drawing. r=Bas
This commit is contained in:
parent
7bd3e5e22f
commit
a567cd9101
@ -1270,7 +1270,9 @@ DrawTargetCG::Init(BackendType aType,
|
||||
void
|
||||
DrawTargetCG::Flush()
|
||||
{
|
||||
CGContextFlush(mCg);
|
||||
if (GetContextType(mCg) == CG_CONTEXT_TYPE_IOSURFACE) {
|
||||
CGContextFlush(mCg);
|
||||
}
|
||||
}
|
||||
|
||||
bool
|
||||
|
Loading…
Reference in New Issue
Block a user