diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-20 21:25:28 +0200 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-20 21:25:28 +0200 |
| commit | e81cf8b328c537bc74e57dc285371c266402087f (patch) | |
| tree | df7d10bd050110857294cb2cdf1fe4b2c07e5784 /main/camera.cpp | |
| parent | d88a203787c6ff2af5d6405a07aed968cc1dc5c3 (diff) | |
reduce window resize event boilerplate
Diffstat (limited to 'main/camera.cpp')
| -rw-r--r-- | main/camera.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/main/camera.cpp b/main/camera.cpp index 82d540a1..be22d89c 100644 --- a/main/camera.cpp +++ b/main/camera.cpp @@ -41,11 +41,6 @@ void app::reset_camera_offset() recalc_cursor_tile(); } -void app::update_window_scale(Vector2i sz) -{ - _shader.set_scale(Vector2{sz}); -} - void app::recalc_cursor_tile() { if (_cursor_pixel) |
