From 87833f8f9590a677f41698b1a3fc4a7b923c8dd2 Mon Sep 17 00:00:00 2001 From: Christian Rauch Date: Wed, 16 Jun 2021 23:24:53 +0100 Subject: GHOST/EGL: add GHOST_XrGraphicsBindingOpenGL as friend --- intern/ghost/intern/GHOST_ContextEGL.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/intern/ghost/intern/GHOST_ContextEGL.h b/intern/ghost/intern/GHOST_ContextEGL.h index 88d78b159b9..170647177c2 100644 --- a/intern/ghost/intern/GHOST_ContextEGL.h +++ b/intern/ghost/intern/GHOST_ContextEGL.h @@ -36,6 +36,9 @@ #endif class GHOST_ContextEGL : public GHOST_Context { + /* XR code needs low level graphics data to send to OpenXR. */ + friend class GHOST_XrGraphicsBindingOpenGL; + public: /** * Constructor. -- cgit v1.2.3