Rename screenshot_clear to screenshot_take_screenshot in FFI

This commit is contained in:
Jackson Coxson
2025-10-21 09:16:47 -06:00
parent a7daac3a46
commit 94624f07af
4 changed files with 5 additions and 5 deletions

View File

@@ -88,7 +88,7 @@ int main(int argc, char** argv) {
[](FfiError e) -> ScreenshotClient { die("failed to create ScreenshotClient", e); });
// 9) Capture screenshot
auto buf = ss.capture().unwrap_or_else(
auto buf = ss.take_screenshot().unwrap_or_else(
[](FfiError e) -> std::vector<uint8_t> { die("failed to capture screenshot", e); });
// 10) Write PNG file