Skip to content

Commit

Permalink
Unreviewed Build Fix for destroyExternalImage
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=257589
rdar://110097878

Unreviewed Build Fix.

* Source/WebCore/Modules/webxr/WebXROpaqueFramebuffer.cpp:
(WebCore::WebXROpaqueFramebuffer::endFrame):

Canonical link: https://commits.webkit.org/264778@main
  • Loading branch information
megangardner committed Jun 1, 2023
1 parent 0e0d797 commit 5d32dff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/WebCore/Modules/webxr/WebXROpaqueFramebuffer.cpp
Expand Up @@ -249,7 +249,7 @@ void WebXROpaqueFramebuffer::endFrame()
if (m_ioSurfaceTextureHandle) {
if (m_ioSurfaceTextureHandleIsShared) {
#if !PLATFORM(IOS_FAMILY_SIMULATOR)
gl.destroyExternalImage(m_ioSurfaceTextureHandle);
gl.destroyEGLImage(m_ioSurfaceTextureHandle);
#else
ASSERT_NOT_REACHED();
#endif
Expand Down

0 comments on commit 5d32dff

Please sign in to comment.