summaryrefslogtreecommitdiff
path: root/src/SSVOpenHexagon/Components/CWall.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/SSVOpenHexagon/Components/CWall.cpp')
-rw-r--r--src/SSVOpenHexagon/Components/CWall.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SSVOpenHexagon/Components/CWall.cpp b/src/SSVOpenHexagon/Components/CWall.cpp
index b6decdbb..88b5bd08 100644
--- a/src/SSVOpenHexagon/Components/CWall.cpp
+++ b/src/SSVOpenHexagon/Components/CWall.cpp
@@ -25,14 +25,14 @@ CWall::CWall(const unsigned int sides, const float wallAngleLeft,
angle - div + wallAngleRight, distance + thickness + wallSkewRight);
}
-void CWall::draw(sf::Color color, Utils::FastVertexVectorQuads& wallQuads)
+void CWall::draw(sf::Color color, Utils::FastVertexVectorTris& wallQuads)
{
if(_hueMod != 0)
{
color = Utils::transformHue(color, _hueMod);
}
- wallQuads.batch_unsafe_emplace_back(color, _vertexPositions[0],
+ wallQuads.batch_unsafe_emplace_back_quad(color, _vertexPositions[0],
_vertexPositions[1], _vertexPositions[2], _vertexPositions[3]);
}