mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
b=606218; [webgl] content appears upside down when rendered via shadow layers; r=cjones, a=b
This commit is contained in:
parent
69dc2ae3e3
commit
deb3b45692
@ -2011,7 +2011,10 @@ BasicShadowableCanvasLayer::Paint(gfxContext* aContext,
|
||||
// the shmem back buffer
|
||||
nsRefPtr<gfxContext> tmpCtx = new gfxContext(mBackBuffer);
|
||||
tmpCtx->SetOperator(gfxContext::OPERATOR_SOURCE);
|
||||
tmpCtx->DrawSurface(mSurface, gfxSize(mBounds.width, mBounds.height));
|
||||
|
||||
// call BasicCanvasLayer::Paint to draw to our tmp context, because
|
||||
// it'll handle things like flipping correctly
|
||||
BasicCanvasLayer::Paint(tmpCtx, nsnull, nsnull);
|
||||
|
||||
BasicManager()->PaintedCanvas(BasicManager()->Hold(this),
|
||||
mBackBuffer);
|
||||
|
Loading…
Reference in New Issue
Block a user