diff --git a/rogueviz/statshot.cpp b/rogueviz/statshot.cpp index 4d1fdfe6..6285b52c 100644 --- a/rogueviz/statshot.cpp +++ b/rogueviz/statshot.cpp @@ -1,6 +1,5 @@ #include "rogueviz.h" -#if CAP_VIDEO namespace rogueviz { namespace statshot { @@ -66,8 +65,9 @@ int a = arg::add3("-label-video", [] { desc.push_back(s); } hide_hud = false; + #if CAP_VIDEO anims::record_video(anims::videofile, [fade, desc] { return anims::record_animation_of([=] { shot_with_stats(fade, desc); }); }); + #endif }); }} -#endif