Skip to content

Commit

Permalink
fix astc 6x6 being missing from list
Browse files Browse the repository at this point in the history
  • Loading branch information
nesrak1 committed Sep 4, 2023
1 parent a945ee8 commit df512f7
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions TexturePlugin/TextureEncoderDecoder.cs
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
using AssetsTools.NET;
using AssetsTools.NET.Extra;
using AssetsTools.NET.Texture;
using Avalonia.Controls;
using AssetsTools.NET.Texture;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TexturePlugin
{
Expand Down Expand Up @@ -416,6 +409,7 @@ public static byte[] Decode(byte[] data, int width, int height, TextureFormat fo
case TextureFormat.ASTC_RGB_12x12:
case TextureFormat.ASTC_RGBA_4x4:
case TextureFormat.ASTC_RGBA_5x5:
case TextureFormat.ASTC_RGBA_6x6:
case TextureFormat.ASTC_RGBA_8x8:
case TextureFormat.ASTC_RGBA_10x10:
case TextureFormat.ASTC_RGBA_12x12:
Expand Down Expand Up @@ -496,6 +490,7 @@ public static byte[] EncodeMip(byte[] data, int width, int height, TextureFormat
case TextureFormat.ASTC_RGB_12x12:
case TextureFormat.ASTC_RGBA_4x4:
case TextureFormat.ASTC_RGBA_5x5:
case TextureFormat.ASTC_RGBA_6x6:
case TextureFormat.ASTC_RGBA_8x8:
case TextureFormat.ASTC_RGBA_10x10:
case TextureFormat.ASTC_RGBA_12x12:
Expand Down

0 comments on commit df512f7

Please sign in to comment.