mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 10:53:34 +02:00
fix line rendering mode
This commit is contained in:
parent
ac513df103
commit
4d83c7f6df
1 changed files with 3 additions and 3 deletions
|
@ -279,11 +279,11 @@ void GizmoEntityRenderer::doRender(RenderArgs* args) {
|
|||
// Ticks
|
||||
if (hasTickMarks) {
|
||||
if (tickProperties.x > 0.0f && tickProperties.y != 0.0f) {
|
||||
geometryCache->renderVertices(batch, gpu::LINE_STRIP, _majorTicksGeometryID);
|
||||
geometryCache->renderVertices(batch, gpu::LINES, _majorTicksGeometryID);
|
||||
}
|
||||
if (tickProperties.z > 0.0f && tickProperties.w != 0.0f) {
|
||||
geometryCache->renderVertices(batch, gpu::LINE_STRIP, _minorTicksGeometryID);
|
||||
geometryCache->renderVertices(batch, gpu::LINES, _minorTicksGeometryID);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue