mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1137251 - Disable RemoveTextureFromCompositableTracker except gonk r=nical
This commit is contained in:
parent
8cd45553dd
commit
19e51a0a3e
@ -386,6 +386,7 @@ CanvasClientSharedSurface::Update(gfx::IntSize aSize, ClientCanvasLayer* aLayer)
|
||||
// Add the new TexClient.
|
||||
MOZ_ALWAYS_TRUE( AddTextureClient(newTex) );
|
||||
|
||||
#ifdef MOZ_WIDGET_GONK
|
||||
// Remove the old TexClient.
|
||||
if (mFrontTex) {
|
||||
// remove old buffer from CompositableHost
|
||||
@ -398,6 +399,7 @@ CanvasClientSharedSurface::Update(gfx::IntSize aSize, ClientCanvasLayer* aLayer)
|
||||
|
||||
mFrontTex = nullptr;
|
||||
}
|
||||
#endif
|
||||
|
||||
// Use the new TexClient.
|
||||
mFrontTex = newTex;
|
||||
|
Loading…
Reference in New Issue
Block a user