Skip to content

Commit 6f3fbdc

Browse files
committed
Adding missing data for XrGraphicsBindingOpenGLWaylandKHR
1 parent 47c4761 commit 6f3fbdc

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/tests/hello_xr/graphicsplugin_opengl.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,7 @@ struct OpenGLGraphicsPlugin : public IGraphicsPlugin {
138138
m_graphicsBinding.glxDrawable = window.context.glxDrawable;
139139
// m_graphicsBinding.glxContext = window.context.glxContext;
140140
#elif defined(XR_USE_PLATFORM_WAYLAND)
141-
// TODO: Just need something other than NULL here for now (for validation). Eventually need
142-
// to correctly put in a valid pointer to an wl_display
143-
m_graphicsBinding.display = reinterpret_cast<wl_display*>(0xFFFFFFFF);
141+
m_graphicsBinding.display = window.display;
144142
#elif defined(XR_USE_PLATFORM_MACOS)
145143
#error OpenGL bindings for Mac have not been implemented
146144
#else

0 commit comments

Comments
 (0)