diff options
Diffstat (limited to 'src/osd/windows/window.c')
-rw-r--r-- | src/osd/windows/window.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/osd/windows/window.c b/src/osd/windows/window.c index 52366a704f8..9d75c0b58e3 100644 --- a/src/osd/windows/window.c +++ b/src/osd/windows/window.c @@ -522,6 +522,29 @@ void winwindow_take_snap(void) //============================================================ +// winwindow_toggle_fsfx +// (main thread) +//============================================================ + +void winwindow_toggle_fsfx(void) +{ + if (draw.window_toggle_fsfx == NULL) + return; + + win_window_info *window; + + assert(GetCurrentThreadId() == main_threadid); + + // iterate over windows and request a snap + for (window = win_window_list; window != NULL; window = window->next) + { + (*draw.window_toggle_fsfx)(window); + } +} + + + +//============================================================ // winwindow_take_video // (main thread) //============================================================ |