Skip to content

Commit

Permalink
Fixed Playstation build break after 279130@main
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=274547

Reviewed by Don Olmstead.

TextureMapperPlatformLayerBuffer::setFence is only available if PLATFORM(GTK) || PLATFORM(WPE)

* Source/WebCore/platform/graphics/nicosia/NicosiaImageBufferPipe.cpp:

Canonical link: https://commits.webkit.org/279154@main
  • Loading branch information
jigenzhou authored and donny-dont committed May 22, 2024
1 parent d61c828 commit 1fc4f38
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,9 @@ void NicosiaImageBufferPipeSource::handle(ImageBuffer& buffer)

auto layerBuffer = makeUnique<TextureMapperPlatformLayerBuffer>(WTFMove(texture));
layerBuffer->setExtraFlags(TextureMapperFlags::ShouldBlend);
#if PLATFORM(GTK) || PLATFORM(WPE)
layerBuffer->setFence(WTFMove(fence));
#endif
downcast<TextureMapperPlatformLayerProxyGL>(proxy).pushNextBuffer(WTFMove(layerBuffer));

});
Expand Down

0 comments on commit 1fc4f38

Please sign in to comment.