Skip to content

Commit

Permalink
#5893: Attempt to fix gcc compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
codereader committed Feb 13, 2022
1 parent b2c2f3a commit 6258522
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libs/render/RenderableVertexArray.h
Expand Up @@ -21,7 +21,7 @@ struct LineIndexer
}
}

static constexpr GeometryType GeometryType()
static constexpr GeometryType GetGeometryType()
{
return GeometryType::Lines;
}
Expand All @@ -38,7 +38,7 @@ struct PointIndexer
}
}

static constexpr GeometryType GeometryType()
static constexpr GeometryType GetGeometryType()
{
return GeometryType::Points;
}
Expand Down Expand Up @@ -91,7 +91,7 @@ class RenderableVertexArray :
std::vector<unsigned int> indices;
Indexer::GenerateIndices(indices, _vertices.size());

RenderableGeometry::updateGeometry(Indexer::GeometryType(), vertices, indices);
RenderableGeometry::updateGeometry(Indexer::GetGeometryType(), vertices, indices);
}
};

Expand Down

0 comments on commit 6258522

Please sign in to comment.