This commit is contained in:
Krzosa Karol
2024-07-27 14:10:38 +02:00
parent 9955181b0d
commit 0ebe63eff3
4 changed files with 6 additions and 3 deletions

View File

@@ -371,7 +371,7 @@ void ReloadFont(int32_t size) {
}
Scratch scratch;
Atlas atlas = CreateAtlas(scratch, {1024, 1024});
Atlas atlas = CreateAtlas(scratch, {2048, 2048});
MainFont = CreateFont(&atlas, size, FontPath);
{
glCreateTextures(GL_TEXTURE_2D, 1, &atlas.texture_id);