summaryrefslogtreecommitdiff
path: root/meme/gui.c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-02-14 21:40:35 (GMT)
committerWerner Almesberger <werner@almesberger.net>2016-02-14 21:40:35 (GMT)
commitf367f0a6c5fdee0dbf6ccc97051307f17d08914f (patch)
treea67e0d2ab319ddba9a74796f178074241bab01a9 /meme/gui.c
parent43831d54bfff78c6ec91e703e4647610af59b901 (diff)
downloadmisc-f367f0a6c5fdee0dbf6ccc97051307f17d08914f.zip
misc-f367f0a6c5fdee0dbf6ccc97051307f17d08914f.tar.gz
misc-f367f0a6c5fdee0dbf6ccc97051307f17d08914f.tar.bz2
meme/gui.c (gui), README: O also toggles markers (in addition to overlays)
Diffstat (limited to 'meme/gui.c')
-rw-r--r--meme/gui.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/meme/gui.c b/meme/gui.c
index 7ee2281..915ed3b 100644
--- a/meme/gui.c
+++ b/meme/gui.c
@@ -1452,10 +1452,11 @@ time_start(&t);
draw(surf);
time_stop(&t);
fprintf(stderr, "%.3f s @ zoom %d\n", time_ms(&t)/1000.0, zoom);
- if (show_overlay)
+ if (show_overlay) {
draw_overlay(surf, overlay);
+ draw_marker(surf);
+ }
SDL_UnlockSurface(surf);
- draw_marker(surf);
SDL_UpdateRect(surf, 0, 0, 0, 0);
show_markers(surf);