Do not support bmp screenshots

This commit is contained in:
TocoToucan 2018-03-14 12:57:55 +03:00
parent 0e69ab1615
commit 25f738c4ae
3 changed files with 1 additions and 5 deletions

View File

@ -83,7 +83,7 @@ protected override void InitialiseDefaults()
Set(OsuSetting.Version, string.Empty);
Set(OsuSetting.ScreenshotFormat, ScreenshotFormat.Png);
Set(OsuSetting.ScreenshotFormat, ScreenshotFormat.Jpg);
}
public OsuConfigManager(Storage storage) : base(storage)

View File

@ -7,7 +7,6 @@ namespace osu.Game.Configuration
{
public enum ScreenshotFormat
{
Bmp = 0, // TODO: Figure out the best way to hide this from the dropdown
[Description("JPG (web-friendly)")]
Jpg = 1,
[Description("PNG (lossless)")]

View File

@ -32,9 +32,6 @@ public void TakeScreenshot()
switch (screenshotFormat.Value)
{
case ScreenshotFormat.Bmp:
screenshotBitmap.Save(stream, ImageFormat.Bmp);
break;
case ScreenshotFormat.Png:
screenshotBitmap.Save(stream, ImageFormat.Png);
break;