mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 787513 - Give the proper update rectangle for NPAPI for CoreGraphics plugins on mac. r=smichaud
This commit is contained in:
parent
59e22a4f43
commit
f11472ebcb
@ -106,6 +106,8 @@ CGBitmapContextSetDataFunc CGBitmapContextSetDataPtr = NULL;
|
||||
::CGContextTranslateCTM(aCGContext, 0, self.bounds.size.height);
|
||||
::CGContextScaleCTM(aCGContext, (CGFloat) 1, (CGFloat) -1);
|
||||
|
||||
mUpdateRect = nsIntRect(0, 0, self.bounds.size.width, self.bounds.size.height);
|
||||
|
||||
mDrawFunc(aCGContext, mPluginInstance, mUpdateRect);
|
||||
|
||||
::CGContextRestoreGState(aCGContext);
|
||||
|
Loading…
Reference in New Issue
Block a user