Skip to content

Commit

Permalink
#5948: Use BigPoint to render brush/patch vertices
Browse files Browse the repository at this point in the history
  • Loading branch information
codereader committed Apr 24, 2022
1 parent 277af6d commit 283ee69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion radiantcore/brush/BrushNode.cpp
Expand Up @@ -428,7 +428,7 @@ void BrushNode::setRenderSystem(const RenderSystemPtr& renderSystem)

if (renderSystem)
{
_pointShader = renderSystem->capture(BuiltInShaderType::Point);
_pointShader = renderSystem->capture(BuiltInShaderType::BigPoint);
_renderableVertices.queueUpdate();
}
else
Expand Down
2 changes: 1 addition & 1 deletion radiantcore/patch/PatchNode.cpp
Expand Up @@ -392,7 +392,7 @@ void PatchNode::setRenderSystem(const RenderSystemPtr& renderSystem)

if (renderSystem)
{
_ctrlPointShader = renderSystem->capture(BuiltInShaderType::Point);
_ctrlPointShader = renderSystem->capture(BuiltInShaderType::BigPoint);
_ctrlLatticeShader = renderSystem->capture(BuiltInShaderType::PatchLattice);
}
else
Expand Down

0 comments on commit 283ee69

Please sign in to comment.