зеркало из https://github.com/microsoft/DirectXTK.git
DirectXTK: /analyze fix
This commit is contained in:
Родитель
24f01a7c7d
Коммит
c97e2fccf3
|
@ -26,6 +26,7 @@ namespace MakeSpriteFont
|
||||||
const int DXGI_FORMAT_BC2_UNORM = 74;
|
const int DXGI_FORMAT_BC2_UNORM = 74;
|
||||||
|
|
||||||
|
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2202:Do not dispose objects multiple times")]
|
||||||
public static void WriteSpriteFont(CommandLineOptions options, Glyph[] glyphs, float lineSpacing, Bitmap bitmap)
|
public static void WriteSpriteFont(CommandLineOptions options, Glyph[] glyphs, float lineSpacing, Bitmap bitmap)
|
||||||
{
|
{
|
||||||
using (FileStream file = File.OpenWrite(options.OutputFile))
|
using (FileStream file = File.OpenWrite(options.OutputFile))
|
||||||
|
|
Загрузка…
Ссылка в новой задаче