From 2b6ae2905378ac0742b9654aa220a47cd2154a55 Mon Sep 17 00:00:00 2001
From: TheSpydog <thespydog@noreply.example.org>
Date: Wed, 9 Nov 2022 18:38:14 +0000
Subject: [PATCH] API update (#3) Co-authored-by: TheSpydog
 <thespydog@noreply.example.org> Co-committed-by: TheSpydog
 <thespydog@noreply.example.org>

---
 src/Refresh.cs | 24 ------------------------
 1 file changed, 24 deletions(-)

diff --git a/src/Refresh.cs b/src/Refresh.cs
index 850b75a..432d8b0 100644
--- a/src/Refresh.cs
+++ b/src/Refresh.cs
@@ -455,7 +455,6 @@ namespace RefreshCS
 			public uint height;
 			public uint depth;
 			public byte isCube;
-			public SampleCount sampleCount;
 			public uint levelCount;
 			public TextureFormat format;
 			public TextureUsageFlags usageFlags; /* Refresh_TextureUsageFlags */
@@ -520,7 +519,6 @@ namespace RefreshCS
 		public struct ColorAttachmentDescription
 		{
 			public TextureFormat format;
-			public SampleCount sampleCount;
 			public ColorAttachmentBlendState blendState;
 		}
 
@@ -825,17 +823,6 @@ namespace RefreshCS
 		public static extern void Refresh_BeginRenderPass(
 			IntPtr device,
 			IntPtr commandBuffer,
-			in Rect renderArea,
-			IntPtr colorAttachmentInfos,
-			uint colorAttachmentCount,
-			IntPtr depthStencilAttachmentInfo /* can be NULL */
-		);
-
-		[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
-		public static extern void Refresh_BeginRenderPass(
-			IntPtr device,
-			IntPtr commandBuffer,
-			IntPtr renderArea, /* can be NULL */
 			IntPtr colorAttachmentInfos,
 			uint colorAttachmentCount,
 			IntPtr depthStencilAttachmentInfo /* can be NULL */
@@ -845,17 +832,6 @@ namespace RefreshCS
 		public static unsafe extern void Refresh_BeginRenderPass(
 			IntPtr device,
 			IntPtr commandBuffer,
-			in Rect renderArea,
-			ColorAttachmentInfo* colorAttachmentInfos,
-			uint colorAttachmentCount,
-			DepthStencilAttachmentInfo* depthStencilAttachmentInfo /* can be NULL */
-		);
-
-		[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
-		public static unsafe extern void Refresh_BeginRenderPass(
-			IntPtr device,
-			IntPtr commandBuffer,
-			IntPtr renderArea, /* can be NULL */
 			ColorAttachmentInfo* colorAttachmentInfos,
 			uint colorAttachmentCount,
 			DepthStencilAttachmentInfo* depthStencilAttachmentInfo /* can be NULL */