fix: 截图帧数改为30帧

This commit is contained in:
2026-03-15 15:09:58 +08:00
parent c59b8c501c
commit 60db4b77f8

View File

@@ -1131,7 +1131,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine
} }
// Screenshot after rendering is done // Screenshot after rendering is done
if (frameCount == 120) { if (frameCount == 30) {
Log("[DEBUG] Saving screenshot at frame %d...\n", frameCount); Log("[DEBUG] Saving screenshot at frame %d...\n", frameCount);
if (SaveScreenshot("screenshot.ppm", 1280, 720)) { if (SaveScreenshot("screenshot.ppm", 1280, 720)) {
Log("[DEBUG] Screenshot saved to screenshot.ppm\n"); Log("[DEBUG] Screenshot saved to screenshot.ppm\n");