diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-20 23:25:32 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-20 23:25:32 +0200 |
commit | 4213fa8a986ccfdf03783638862a9aacf3ea8601 (patch) | |
tree | e1d78e3dcc74ce6c2605ff31e035fb7e4ad36453 /shaders | |
parent | d22abc50862f7243228c93fd2fd3878b37821487 (diff) |
rename macros
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); } |