From 2151df75cb8646381d3c4bf95379c8f568dcd9eb Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Fri, 19 Feb 2021 12:58:37 -0500 Subject: tags starting to work --- main.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'main.c') 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)) { -- cgit v1.2.3