From 330d255883cdf310d838d0268fb5734705b17f16 Mon Sep 17 00:00:00 2001 From: morkt Date: Mon, 9 Nov 2015 00:09:36 +0400 Subject: [PATCH] (ImageFormat.Tga): new static property. --- GameRes/Image.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/GameRes/Image.cs b/GameRes/Image.cs index 8cbf35cb..ba6ef57e 100644 --- a/GameRes/Image.cs +++ b/GameRes/Image.cs @@ -198,9 +198,11 @@ namespace GameRes static readonly Lazy s_JpegFormat = new Lazy (() => FindByTag ("JPEG")); static readonly Lazy s_PngFormat = new Lazy (() => FindByTag ("PNG")); static readonly Lazy s_BmpFormat = new Lazy (() => FindByTag ("BMP")); + static readonly Lazy s_TgaFormat = new Lazy (() => FindByTag ("TGA")); public static ImageFormat Jpeg { get { return s_JpegFormat.Value; } } public static ImageFormat Png { get { return s_PngFormat.Value; } } public static ImageFormat Bmp { get { return s_BmpFormat.Value; } } + public static ImageFormat Tga { get { return s_TgaFormat.Value; } } } }