mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 860441 - trivial compile fix on non-gonk - no review, CLOSED TREE
This commit is contained in:
parent
568cea39db
commit
b96c4b3714
@ -159,6 +159,7 @@ ImageClientSingle::UpdateImage(ImageContainer* aContainer,
|
||||
return false;
|
||||
}
|
||||
mTextureClient->SetDescriptor(desc);
|
||||
#ifdef MOZ_WIDGET_GONK
|
||||
} else if (image->GetFormat() == GONK_IO_SURFACE) {
|
||||
EnsureTextureClient(TEXTURE_SHARED_GL_EXTERNAL);
|
||||
|
||||
@ -174,6 +175,7 @@ ImageClientSingle::UpdateImage(ImageContainer* aContainer,
|
||||
return false;
|
||||
}
|
||||
mTextureClient->SetDescriptor(desc);
|
||||
#endif
|
||||
} else {
|
||||
nsRefPtr<gfxASurface> surface = image->GetAsSurface();
|
||||
MOZ_ASSERT(surface);
|
||||
|
Loading…
Reference in New Issue
Block a user