summaryrefslogtreecommitdiff
path: root/text.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-07-19 15:47:53 -0400
committerpommicket <pommicket@gmail.com>2023-07-19 19:03:44 -0400
commit37f6dd7f1027e82fd12c12fca6ff0bae00e4004c (patch)
treef6ff0e5745b97adb4b418075a6bd33c8a7deec35 /text.c
parent0d84543e4a88b74aed0dec6a9ceab80b8e44c131 (diff)
cache buffer_lsp (improves performance a fair bit)
Diffstat (limited to 'text.c')
-rw-r--r--text.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/text.c b/text.c
index 70941de..4eb9aaa 100644
--- a/text.c
+++ b/text.c
@@ -9,11 +9,6 @@ no_warn_start
#endif
no_warn_end
-//no_warn_start
-//#define STB_IMAGE_WRITE_IMPLEMENTATION
-//#include "/~/apps/stb/stb_image_write.h"
-//no_warn_end
-
typedef struct {
vec2 pos;
vec2 tex_coord;
@@ -173,7 +168,6 @@ static void font_texture_update_if_needed(FontTexture *texture) {
#if PROFILE
printf("- update font texture: %.1fms\n", 1e3 * (end - start));
#endif
- //stbi_write_png("out.png", FONT_TEXTURE_WIDTH, FONT_TEXTURE_HEIGHT, 1, texture->pixels, FONT_TEXTURE_WIDTH);
texture->needs_update = false;
}
}