From 6f3fbdc24eed83229311de1e7793e839b6721922 Mon Sep 17 00:00:00 2001 From: Adrian Coca Lorente Date: Sat, 12 Jul 2025 14:08:31 +0200 Subject: [PATCH] Adding missing data for XrGraphicsBindingOpenGLWaylandKHR --- src/tests/hello_xr/graphicsplugin_opengl.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/tests/hello_xr/graphicsplugin_opengl.cpp b/src/tests/hello_xr/graphicsplugin_opengl.cpp index 2a1bbe161..a9979fd3c 100644 --- a/src/tests/hello_xr/graphicsplugin_opengl.cpp +++ b/src/tests/hello_xr/graphicsplugin_opengl.cpp @@ -138,9 +138,7 @@ struct OpenGLGraphicsPlugin : public IGraphicsPlugin { m_graphicsBinding.glxDrawable = window.context.glxDrawable; // m_graphicsBinding.glxContext = window.context.glxContext; #elif defined(XR_USE_PLATFORM_WAYLAND) - // TODO: Just need something other than NULL here for now (for validation). Eventually need - // to correctly put in a valid pointer to an wl_display - m_graphicsBinding.display = reinterpret_cast(0xFFFFFFFF); + m_graphicsBinding.display = window.display; #elif defined(XR_USE_PLATFORM_MACOS) #error OpenGL bindings for Mac have not been implemented #else