From 52d3355120cba2025fac67499ee3c669e5347809 Mon Sep 17 00:00:00 2001 From: TheSpydog Date: Tue, 31 Jan 2023 20:27:06 +0000 Subject: [PATCH] ABI update + enum fix (#7) Co-authored-by: Caleb Cornett Reviewed-on: https://gitea.moonside.games/MoonsideGames/RefreshCS/pulls/7 Co-authored-by: TheSpydog Co-committed-by: TheSpydog --- src/Refresh.cs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/Refresh.cs b/src/Refresh.cs index 9db2508..ca84250 100644 --- a/src/Refresh.cs +++ b/src/Refresh.cs @@ -136,10 +136,7 @@ namespace RefreshCS One, Two, Four, - Eight, - Sixteen, - ThirtyTwo, - SixtyFour + Eight } public enum CubeMapFace : uint @@ -461,6 +458,7 @@ namespace RefreshCS public uint depth; public byte isCube; public uint levelCount; + public SampleCount sampleCount; public TextureFormat format; public TextureUsageFlags usageFlags; /* Refresh_TextureUsageFlags */ } @@ -555,7 +553,6 @@ namespace RefreshCS public uint depth; public uint layer; public uint level; - public SampleCount sampleCount; public Vec4 clearColor; public LoadOp loadOp; public StoreOp storeOp;