Save screenshots via the frame buffer.

This commit is contained in:
Paul Chote
2019-08-31 18:04:41 +01:00
committed by teinarss
parent c0ee346c1c
commit 1d106e71c4
6 changed files with 31 additions and 68 deletions

View File

@@ -550,7 +550,7 @@ namespace OpenRA
var path = Path.Combine(directory, string.Concat(filename, ".png"));
Log.Write("debug", "Taking screenshot " + path);
Renderer.Context.SaveScreenshot(path);
Renderer.SaveScreenshot(path);
Debug("Saved screenshot " + filename);
}
}