1 #include "core/framebuffer.hpp"
2 #include "lua/internal.hpp"
6 function_ptr_luafun
lua_gui_screenshot(lua_func_misc
, "gui.screenshot", [](lua_state
& L
,
7 const std::string
& fname
) -> int {
8 std::string fn
= L
.get_string(1, fname
.c_str());