From 7ec84e7d0e7f7f4879c1705d4134eb53462f47a8 Mon Sep 17 00:00:00 2001 From: assiduous Date: Sun, 15 Dec 2024 22:01:29 -0800 Subject: [PATCH] Added OpenXRAttribsSize member to APIInfo struct (API256002) --- Graphics/GraphicsEngine/interface/APIInfo.h | 3 ++- Graphics/GraphicsEngine/src/APIInfo.cpp | 1 + ReleaseHistory.md | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Graphics/GraphicsEngine/interface/APIInfo.h b/Graphics/GraphicsEngine/interface/APIInfo.h index c45aa4b36..bdb3423ed 100644 --- a/Graphics/GraphicsEngine/interface/APIInfo.h +++ b/Graphics/GraphicsEngine/interface/APIInfo.h @@ -30,7 +30,7 @@ /// \file /// Diligent API information -#define DILIGENT_API_VERSION 256001 +#define DILIGENT_API_VERSION 256002 #include "../../../Primitives/interface/BasicTypes.h" @@ -62,6 +62,7 @@ struct APIInfo size_t DisplayModeAttribsSize DEFAULT_INITIALIZER(0); size_t SwapChainDescSize DEFAULT_INITIALIZER(0); size_t FullScreenModeDescSize DEFAULT_INITIALIZER(0); + size_t OpenXRAttribsSize DEFAULT_INITIALIZER(0); size_t EngineCreateInfoSize DEFAULT_INITIALIZER(0); size_t EngineGLCreateInfoSize DEFAULT_INITIALIZER(0); size_t EngineD3D11CreateInfoSize DEFAULT_INITIALIZER(0); diff --git a/Graphics/GraphicsEngine/src/APIInfo.cpp b/Graphics/GraphicsEngine/src/APIInfo.cpp index 1f19729f3..3e96e031d 100644 --- a/Graphics/GraphicsEngine/src/APIInfo.cpp +++ b/Graphics/GraphicsEngine/src/APIInfo.cpp @@ -72,6 +72,7 @@ static APIInfo InitAPIInfo() INIT_STRUCTURE_SIZE(DisplayModeAttribs); INIT_STRUCTURE_SIZE(SwapChainDesc); INIT_STRUCTURE_SIZE(FullScreenModeDesc); + INIT_STRUCTURE_SIZE(OpenXRAttribs); INIT_STRUCTURE_SIZE(EngineCreateInfo); INIT_STRUCTURE_SIZE(EngineGLCreateInfo); INIT_STRUCTURE_SIZE(EngineD3D11CreateInfo); diff --git a/ReleaseHistory.md b/ReleaseHistory.md index a93961dbe..5d8ca044e 100644 --- a/ReleaseHistory.md +++ b/ReleaseHistory.md @@ -1,5 +1,6 @@ ## Current progress +* Added `OpenXRAttribsSize` member to `APIInfo` struct (API256002) * Enabled OpenXR (API256001) * Added `OpenXRAttribs` struct and `pXRAttribs` member to `EngineCreateInfo` struct * Added `NativeGLContextAttribsWin32` and `NativeGLContextAttribsAndroid` structs and