diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-09 03:29:00 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-09 03:29:00 +0200 |
commit | e556000697e12739129083ff5f314aeeb4fe6217 (patch) | |
tree | 4e008ca8be59cea2a96247f7a4acabaf8f927ae9 /main/main.cpp | |
parent | acdace16824b741948b02da0bcc7d0d059c7f683 (diff) |
a
Diffstat (limited to 'main/main.cpp')
-rw-r--r-- | main/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/main.cpp b/main/main.cpp index 523d16c0..bbbf8d87 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -59,7 +59,7 @@ void app::draw_wireframe() constexpr auto X = TILE_SIZE[0], Y = TILE_SIZE[1]; constexpr float N = TILE_MAX_DIM/2.f; const Vector3 center {(float)(X*N), (float)(Y*N), 0}; - _shader.set_tint({1.f, 1.f, 0, 1.f}); + _shader.set_tint({1, 0, 0, 1}); _wireframe_quad.draw(_shader, {center, {TILE_SIZE[0], TILE_SIZE[1]}}); _shader.set_tint({1, 1, 1, 1}); } |