re-fix wireframe tessellation

This commit is contained in:
Turanszki Janos
2021-06-17 18:27:08 +02:00
parent 3e90fecd12
commit ed2c9fa086
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -2980,7 +2980,7 @@ void RenderMeshes(
{
continue;
}
const MaterialComponent& material = *vis.scene->materials.GetComponent(subset.materialID);
const MaterialComponent& material = vis.scene->materials[subset.materialIndex];
bool subsetRenderable = renderTypeFlags & material.GetRenderTypes();
@@ -3002,7 +3002,7 @@ void RenderMeshes(
switch (renderPass)
{
case RENDERPASS_MAIN:
pso = &PSO_object_wire;
pso = tessellatorRequested ? &PSO_object_wire_tessellation : &PSO_object_wire;
}
}
else if (mesh.IsTerrain())
+1 -1
View File
@@ -9,7 +9,7 @@ namespace wiVersion
// minor features, major updates, breaking compatibility changes
const int minor = 56;
// minor bug fixes, alterations, refactors, updates
const int revision = 40;
const int revision = 41;
const std::string version_string = std::to_string(major) + "." + std::to_string(minor) + "." + std::to_string(revision);