From 4213fa8a986ccfdf03783638862a9aacf3ea8601 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 20 Oct 2022 23:25:32 +0200 Subject: rename macros --- shaders/tile-shader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shaders') diff --git a/shaders/tile-shader.cpp b/shaders/tile-shader.cpp index 87238f5a..11dc7c49 100644 --- a/shaders/tile-shader.cpp +++ b/shaders/tile-shader.cpp @@ -57,7 +57,7 @@ void tile_shader::_draw() if (const auto offset = Vector2{(float)_camera_offset[0], (float)_camera_offset[1]}; offset != _real_camera_offset) { - ASSERT(offset[0] < 1 << 24 && offset[1] < 1 << 24); + fm_assert(offset[0] < 1 << 24 && offset[1] < 1 << 24); _real_camera_offset = offset; setUniform(OffsetUniform, offset); } -- cgit v1.2.3