re-fix wireframe tessellation
This commit is contained in:
@@ -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())
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user