Advertisement
Guest User

Untitled

a guest
Aug 4th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.     //XrGraphicsBindingOpenGLWaylandKHR *glWaylandBindings
  3.     glWaylandBinding->type = XR_TYPE_GRAPHICS_BINDING_OPENGL_WAYLAND_KHR;
  4.     glWaylandBinding->display = waylandCompositor->display();
  5.     glWaylandBinding->next = nullptr;
  6.  
  7.     //XrSessionCreateInfo *xrSessionInfo
  8.     xrSessionInfo->type = XR_TYPE_SESSION_CREATE_INFO;
  9.     xrSessionInfo->next = glWaylandBinding;
  10.     xrSessionInfo->systemId = *hmdID;
  11.     xrSessionInfo->createFlags = 0;
  12.  
  13.     //XrSession *stardustSession;
  14.     xrCreateSession(*xrInstance, xrSessionInfo, stardustSession);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement