[Bf-blender-cvs] [87833f8f959] master: GHOST/EGL: add GHOST_XrGraphicsBindingOpenGL as friend

Christian Rauch noreply at git.blender.org
Tue Jun 22 21:17:53 CEST 2021


Commit: 87833f8f9590a677f41698b1a3fc4a7b923c8dd2
Author: Christian Rauch
Date:   Wed Jun 16 23:24:53 2021 +0100
Branches: master
https://developer.blender.org/rB87833f8f9590a677f41698b1a3fc4a7b923c8dd2

GHOST/EGL: add GHOST_XrGraphicsBindingOpenGL as friend

===================================================================

M	intern/ghost/intern/GHOST_ContextEGL.h

===================================================================

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.



More information about the Bf-blender-cvs mailing list