Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //XrGraphicsBindingOpenGLWaylandKHR *glWaylandBindings
- glWaylandBinding->type = XR_TYPE_GRAPHICS_BINDING_OPENGL_WAYLAND_KHR;
- glWaylandBinding->display = waylandCompositor->display();
- glWaylandBinding->next = nullptr;
- //XrSessionCreateInfo *xrSessionInfo
- xrSessionInfo->type = XR_TYPE_SESSION_CREATE_INFO;
- xrSessionInfo->next = glWaylandBinding;
- xrSessionInfo->systemId = *hmdID;
- xrSessionInfo->createFlags = 0;
- //XrSession *stardustSession;
- xrCreateSession(*xrInstance, xrSessionInfo, stardustSession);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement