diff options
author | Christian Rauch <Rauch.Christian@gmx.de> | 2021-06-17 01:24:53 +0300 |
---|---|---|
committer | Christian Rauch <Rauch.Christian@gmx.de> | 2021-06-22 22:00:40 +0300 |
commit | 87833f8f9590a677f41698b1a3fc4a7b923c8dd2 (patch) | |
tree | db2b98dbc06f5a0166294cab9cd5d803147b28d2 /intern | |
parent | b35ba22d8439df35056957b9f1519e9150cc900b (diff) |
GHOST/EGL: add GHOST_XrGraphicsBindingOpenGL as friend
Diffstat (limited to 'intern')
-rw-r--r-- | intern/ghost/intern/GHOST_ContextEGL.h | 3 |
1 files changed, 3 insertions, 0 deletions
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. |