Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rhabacker:branches:games:mingw32
mingw32-vsgvr
0001-Adjust-to-use-vsg-version-1.1.3-api.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Adjust-to-use-vsg-version-1.1.3-api.patch of Package mingw32-vsgvr
From 1bcb172304e7747a20e8e6b808a14418144a61ef Mon Sep 17 00:00:00 2001 From: Ralf Habacker <ralf.habacker@freenet.de> Date: Mon, 6 May 2024 15:09:41 +0200 Subject: [PATCH 1/2] Adjust to use vsg version 1.1.3 api --- vsgvr/src/vsgvr/app/CompositionLayer.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/vsgvr/src/vsgvr/app/CompositionLayer.cpp b/vsgvr/src/vsgvr/app/CompositionLayer.cpp index eaf1d2c..03f2304 100644 --- a/vsgvr/src/vsgvr/app/CompositionLayer.cpp +++ b/vsgvr/src/vsgvr/app/CompositionLayer.cpp @@ -29,10 +29,20 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include <vsgvr/xr/Session.h> #include <vsgvr/xr/GraphicsBindingVulkan.h> +#include <vsg/core/Version.h> +// see https://github.com/vsg-dev/VulkanSceneGraph/issues/1184 +#define VSG_VERSION_CHECK(major, minor, patch) ((major<<16)|(minor<<8)|(patch)) +#define VSG_VERSION VSG_VERSION_CHECK(VSG_VERSION_MAJOR, VSG_VERSION_MINOR, VSG_VERSION_PATCH) + #include <vsg/app/View.h> #include <vsg/app/RenderGraph.h> #include <vsg/commands/PipelineBarrier.h> + +#if VSG_VERSION >= VSG_VERSION_CHECK(1, 1, 3) +#include <vsg/lighting/Light.h> +#else #include <vsg/nodes/Light.h> +#endif #include <vsg/ui/FrameStamp.h> #include <vsg/vk/SubmitCommands.h> -- 2.44.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor