Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Rauch <Rauch.Christian@gmx.de>2021-06-17 01:24:53 +0300
committerChristian Rauch <Rauch.Christian@gmx.de>2021-06-22 22:00:40 +0300
commit87833f8f9590a677f41698b1a3fc4a7b923c8dd2 (patch)
treedb2b98dbc06f5a0166294cab9cd5d803147b28d2
parentb35ba22d8439df35056957b9f1519e9150cc900b (diff)
GHOST/EGL: add GHOST_XrGraphicsBindingOpenGL as friend
-rw-r--r--intern/ghost/intern/GHOST_ContextEGL.h3
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.