diff options
| author | Aldrik Ramaekers <aldrik@amftech.nl> | 2024-01-07 18:57:07 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik@amftech.nl> | 2024-01-07 18:57:07 +0100 |
| commit | c13e3bce702003aea65eef54ee462fd20cdf4fa1 (patch) | |
| tree | 4e4821e4bfb73e2d3fae6c103bdc2a474fc63997 /src/asset_defs.c | |
| parent | 89f6cc4d269f606157abf7824c5f385c7049082f (diff) | |
teehee
Diffstat (limited to 'src/asset_defs.c')
| -rw-r--r-- | src/asset_defs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/asset_defs.c b/src/asset_defs.c index 6c8fc08..33f50d8 100644 --- a/src/asset_defs.c +++ b/src/asset_defs.c @@ -128,7 +128,7 @@ font* get_font(platform_window* window, float scale) { float window_scale = window->width / 800.0f; float diff = window_scale - 1.0f; - float step = 1/5.0f; + float step = 1/3.0f; int index_of_original = (int)(scale / step); int index_to_return = index_of_original + (int)(diff/step); |
