diff options
Diffstat (limited to 'shaders')
-rw-r--r-- | shaders/tile-shader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |