Skip to content

Commit

Permalink
Merge pull request #24 from vsg-dev/gcc_13_warning_fixes
Browse files Browse the repository at this point in the history
Updated to work with changes to ArrayState in VSG-1.1.4
  • Loading branch information
robertosfield authored May 20, 2024
2 parents a94b315 + 4d19a6a commit 15446aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.12)

project(vsgPoints
VERSION 0.3.0
VERSION 0.4.0
DESCRIPTION "VulkanSceneGraph Point Cloud rendering."
LANGUAGES CXX
)
Expand All @@ -19,7 +19,7 @@ if (VULKAN_SDK)
set(ENV{VULKAN_SDK} ${VULKAN_SDK})
endif()

find_package(vsg 1.1.0 REQUIRED)
find_package(vsg 1.1.4 REQUIRED)
find_package(vsgXchange 1.0.5 REQUIRED)

vsg_setup_build_vars()
Expand Down
2 changes: 1 addition & 1 deletion applications/vsgpoints_example/ConvertMeshToPoints.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ void ConvertMeshToPoints::apply(const vsg::Node& node)

void ConvertMeshToPoints::apply(const vsg::StateGroup& stategroup)
{
auto arrayState = stategroup.prototypeArrayState ? stategroup.prototypeArrayState->clone(arrayStateStack.back()) : arrayStateStack.back()->clone();
auto arrayState = stategroup.prototypeArrayState ? stategroup.prototypeArrayState->cloneArrayState(arrayStateStack.back()) : arrayStateStack.back()->cloneArrayState();

for (auto& statecommand : stategroup.stateCommands)
{
Expand Down

0 comments on commit 15446aa

Please sign in to comment.