summaryrefslogtreecommitdiffhomepage
path: root/shaders/tile-shader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'shaders/tile-shader.cpp')
-rw-r--r--shaders/tile-shader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/shaders/tile-shader.cpp b/shaders/tile-shader.cpp
index 93c6a5c8..2218d463 100644
--- a/shaders/tile-shader.cpp
+++ b/shaders/tile-shader.cpp
@@ -54,7 +54,7 @@ tile_shader& tile_shader::set_tint(const Vector4& tint)
return *this;
}
-void tile_shader::on_draw()
+void tile_shader::_draw()
{
if (const auto offset = Vector2i{(std::int32_t)_camera_offset[0], (std::int32_t)_camera_offset[1]};
offset != _real_camera_offset)