mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 16:12:54 +08:00
Do not support bmp screenshots
This commit is contained in:
parent
0e69ab1615
commit
25f738c4ae
@ -83,7 +83,7 @@ namespace osu.Game.Configuration
|
||||
|
||||
Set(OsuSetting.Version, string.Empty);
|
||||
|
||||
Set(OsuSetting.ScreenshotFormat, ScreenshotFormat.Png);
|
||||
Set(OsuSetting.ScreenshotFormat, ScreenshotFormat.Jpg);
|
||||
}
|
||||
|
||||
public OsuConfigManager(Storage storage) : base(storage)
|
||||
|
@ -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)")]
|
||||
|
@ -32,9 +32,6 @@ namespace osu.Game.Graphics
|
||||
|
||||
switch (screenshotFormat.Value)
|
||||
{
|
||||
case ScreenshotFormat.Bmp:
|
||||
screenshotBitmap.Save(stream, ImageFormat.Bmp);
|
||||
break;
|
||||
case ScreenshotFormat.Png:
|
||||
screenshotBitmap.Save(stream, ImageFormat.Png);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user