mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Apply more missed cases
This commit is contained in:
@ -104,9 +104,11 @@ namespace osu.Game.Graphics
|
||||
case ScreenshotFormat.Png:
|
||||
image.SaveAsPng(stream);
|
||||
break;
|
||||
|
||||
case ScreenshotFormat.Jpg:
|
||||
image.SaveAsJpeg(stream);
|
||||
break;
|
||||
|
||||
default:
|
||||
throw new ArgumentOutOfRangeException(nameof(screenshotFormat));
|
||||
}
|
||||
|
Reference in New Issue
Block a user