From 5f53900404fcd5835101ea0af593e417d160a5e4 Mon Sep 17 00:00:00 2001 From: raven Date: Mon, 13 Apr 2026 14:17:08 -0500 Subject: remove calls to SDL_SyncWindow --- src/tooltip.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/tooltip.c') diff --git a/src/tooltip.c b/src/tooltip.c index e900e40..c1ea112 100644 --- a/src/tooltip.c +++ b/src/tooltip.c @@ -34,7 +34,6 @@ void set_tooltip_text(tooltip *t, const char *text) { float tw, th; SDL_GetTextureSize(t->texture, &tw, &th); SDL_SetWindowSize(t->window, tw + PADDING*2, th + PADDING*2); - SDL_SyncWindow(t->window); } void show_tooltip(tooltip *t, int x, int y) { @@ -51,7 +50,6 @@ void show_tooltip(tooltip *t, int x, int y) { SDL_SetWindowPosition(t->window, x + PADDING, y - th - PADDING*3); if (t->hidden) { SDL_ShowWindow(t->window); - SDL_SyncWindow(t->window); t->hidden = false; } -- cgit v1.2.3