Skip to content

Commit

Permalink
Restored the assignemtn of the defines to the GraphicPipelineConfigur…
Browse files Browse the repository at this point in the history
…ator
  • Loading branch information
robertosfield committed Nov 25, 2022
1 parent d7af83a commit 02f5bca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/assimp/assimp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,7 @@ void SceneConverter::convert(const aiMesh* mesh, vsg::ref_ptr<vsg::Node>& node)
}

auto config = vsg::GraphicsPipelineConfigurator::create(material.shaderSet);
config->shaderHints->defines = material.defines;

config->inputAssemblyState->topology = topology;
auto indices = createIndices(mesh, numIndicesPerFace, numIndices);
Expand Down

0 comments on commit 02f5bca

Please sign in to comment.