Skip to content

Commit f0bdada

Browse files
committed
global using InteropServices
1 parent 4a386d5 commit f0bdada

8 files changed

Lines changed: 2 additions & 11 deletions

File tree

AssetRipper.TextureDecoder/Atc/AtcDecoder.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System.Buffers.Binary;
2-
using System.Runtime.InteropServices;
32

43
namespace AssetRipper.TextureDecoder.Atc
54
{

AssetRipper.TextureDecoder/Dxt/DxtDecoder.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using AssetRipper.TextureDecoder.Rgb;
22
using AssetRipper.TextureDecoder.Rgb.Formats;
33
using System.Buffers.Binary;
4-
using System.Runtime.InteropServices;
54

65
namespace AssetRipper.TextureDecoder.Dxt
76
{

AssetRipper.TextureDecoder/Etc/EtcDecoder.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
using System.Runtime.InteropServices;
2-
31
namespace AssetRipper.TextureDecoder.Etc
42
{
53
public static class EtcDecoder

AssetRipper.TextureDecoder/GlobalUsings.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
global using System.Diagnostics.CodeAnalysis;
33
global using System.Numerics;
44
global using System.Runtime.CompilerServices;
5+
global using System.Runtime.InteropServices;

AssetRipper.TextureDecoder/Pvrtc/PvrtcDecoder.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
//#define DISABLE_TWINDDLING_ROUTINE
22
#define ASSUME_IMAGE_TILING
33

4-
using System.Runtime.InteropServices;
5-
64
namespace AssetRipper.TextureDecoder.Pvrtc
75
{
86
public static partial class PvrtcDecoder

AssetRipper.TextureDecoder/Rgb/NumericConversion.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
using System.Runtime.InteropServices;
2-
3-
namespace AssetRipper.TextureDecoder.Rgb;
1+
namespace AssetRipper.TextureDecoder.Rgb;
42
public static partial class NumericConversion
53
{
64
[MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)]

AssetRipper.TextureDecoder/Rgb/RgbConverter.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System.Buffers.Binary;
2-
using System.Runtime.InteropServices;
32

43
namespace AssetRipper.TextureDecoder.Rgb
54
{

AssetRipper.TextureDecoder/Yuy2/Yuy2Decoder.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using AssetRipper.TextureDecoder.Rgb;
22
using AssetRipper.TextureDecoder.Rgb.Formats;
3-
using System.Runtime.InteropServices;
43

54
namespace AssetRipper.TextureDecoder.Yuy2
65
{

0 commit comments

Comments
 (0)