We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47c4761 commit 6f3fbdcCopy full SHA for 6f3fbdc
1 file changed
src/tests/hello_xr/graphicsplugin_opengl.cpp
@@ -138,9 +138,7 @@ struct OpenGLGraphicsPlugin : public IGraphicsPlugin {
138
m_graphicsBinding.glxDrawable = window.context.glxDrawable;
139
// m_graphicsBinding.glxContext = window.context.glxContext;
140
#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);
+ m_graphicsBinding.display = window.display;
144
#elif defined(XR_USE_PLATFORM_MACOS)
145
#error OpenGL bindings for Mac have not been implemented
146
#else
0 commit comments