diff options
Diffstat (limited to 'source/blender/makesdna/DNA_windowmanager_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_windowmanager_types.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_windowmanager_types.h b/source/blender/makesdna/DNA_windowmanager_types.h index 8dcae41aaa2..ca7ceb048ae 100644 --- a/source/blender/makesdna/DNA_windowmanager_types.h +++ b/source/blender/makesdna/DNA_windowmanager_types.h @@ -42,6 +42,7 @@ struct wmKeyMap; struct wmMsgBus; struct wmOperator; struct wmOperatorType; +struct GHOST_XrContext; /* forwards */ struct PointerRNA; @@ -178,6 +179,9 @@ typedef struct wmWindowManager { struct wmMsgBus *message_bus; + //#ifdef WITH_OPENXR + void *xr_context; /* GHOST_XrContextHandle */ + //#endif } wmWindowManager; /* wmWindowManager.initialized */ @@ -201,6 +205,8 @@ typedef struct wmWindow { /** Don't want to include ghost.h stuff. */ void *ghostwin; + /** Ghost context for rendering the window offscreen (usually unused). */ + void *offscreen_context; /** Don't want to include gpu stuff. */ void *gpuctx; |