fix: 截图帧数改为30帧
This commit is contained in:
@@ -1131,7 +1131,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine
|
||||
}
|
||||
|
||||
// Screenshot after rendering is done
|
||||
if (frameCount == 120) {
|
||||
if (frameCount == 30) {
|
||||
Log("[DEBUG] Saving screenshot at frame %d...\n", frameCount);
|
||||
if (SaveScreenshot("screenshot.ppm", 1280, 720)) {
|
||||
Log("[DEBUG] Screenshot saved to screenshot.ppm\n");
|
||||
|
||||
Reference in New Issue
Block a user