Skip to content

Commit

Permalink
Fixed VS build issues/warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
robertosfield committed Nov 6, 2023
1 parent af2a363 commit 12bebcf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/vsg/utils/GraphicsPipelineConfigurator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
#include <vsg/state/ViewDependentState.h>
#include <vsg/utils/GraphicsPipelineConfigurator.h>
#include <vsg/utils/SharedObjects.h>
#include <vsg/vk/Context.h>

using namespace vsg;

Expand Down Expand Up @@ -583,7 +584,7 @@ void GraphicsPipelineConfigurator::init()
auto& dsl = desriptorSetLayouts[set];
if (!dsl)
{
dsl = shaderSet->createDescriptorSetLayout(shaderHints->defines, set);
dsl = shaderSet->createDescriptorSetLayout(shaderHints->defines, static_cast<uint32_t>(set));
}
}

Expand Down

0 comments on commit 12bebcf

Please sign in to comment.