summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-02-19 12:58:37 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-02-19 12:58:37 -0500
commit2151df75cb8646381d3c4bf95379c8f568dcd9eb (patch)
tree275945e1369e5379e2e07f2b981ecef2c31c0e08 /main.c
parent42572f5c445497296ae70100d5e51370c8bba410 (diff)
tags starting to work
Diffstat (limited to 'main.c')
-rw-r--r--main.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/main.c b/main.c
index a1c3cc0..2321dbf 100644
--- a/main.c
+++ b/main.c
@@ -365,6 +365,8 @@ int main(int argc, char **argv) {
u32 *colors = settings->colors; (void)colors;
Uint32 time_at_last_frame = SDL_GetTicks();
+
+ tag_goto(ted, "buffer_create");
while (!ted->quit) {
#if DEBUG
@@ -389,10 +391,6 @@ int main(int argc, char **argv) {
memset(ted->nmouse_clicks, 0, sizeof ted->nmouse_clicks);
ted->scroll_total_x = ted->scroll_total_y = 0;
- //printf("%p\n",(void *)ted->drag_buffer);
-
- tags_read_if_changed(ted, &ted->tags);
-
ted_update_window_dimensions(ted);
while (SDL_PollEvent(&event)) {