summaryrefslogtreecommitdiff
path: root/game/water.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'game/water.cpp')
-rw-r--r--game/water.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/game/water.cpp b/game/water.cpp
index b5d7fc6..b8d51db 100644
--- a/game/water.cpp
+++ b/game/water.cpp
@@ -25,9 +25,9 @@ namespace glm {
template<>
Impl::VertexArrayConfigurator &
-Impl::VertexArrayConfigurator::addAttribsFor<Water::Vertex>(const GLuint divisor, const glBuffer & buffer)
+Impl::VertexArrayConfigurator::addAttribsFor<Water::Vertex>(const GLuint divisor)
{
- return addAttribs<Water::Vertex, &Water::Vertex::pos>(divisor, buffer);
+ return addAttribs<Water::Vertex, &Water::Vertex::pos>(divisor);
}
Water::Water(std::shared_ptr<GeoData> tm) : geoData {std::move(tm)}, water {std::make_shared<Texture>("water.png")}