From 8f327f30e3c7445459979cfa40b962563a15272d Mon Sep 17 00:00:00 2001 From: Harrison Date: Thu, 20 Feb 2020 16:07:18 -0500 Subject: [PATCH] Renamed VertexBufferArrayHandle.cs --- .../{VertexBufferHandle.cs => VertexBufferArrayHandle.cs} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename RecrownedGTK/Graphics/{VertexBufferHandle.cs => VertexBufferArrayHandle.cs} (86%) diff --git a/RecrownedGTK/Graphics/VertexBufferHandle.cs b/RecrownedGTK/Graphics/VertexBufferArrayHandle.cs similarity index 86% rename from RecrownedGTK/Graphics/VertexBufferHandle.cs rename to RecrownedGTK/Graphics/VertexBufferArrayHandle.cs index 75a220e..aa32086 100644 --- a/RecrownedGTK/Graphics/VertexBufferHandle.cs +++ b/RecrownedGTK/Graphics/VertexBufferArrayHandle.cs @@ -1,10 +1,10 @@ using System; using OpenTK.Graphics.OpenGL; namespace RecrownedGTK.Graphics { - public class VertexBufferHandle : IDisposable { + public class VertexBufferArrayHandle : IDisposable { private bool disposed; private int handle; - public VertexBufferHandle() { + public VertexBufferArrayHandle() { handle = GL.GenBuffer(); } public void Bind() { @@ -25,7 +25,7 @@ namespace RecrownedGTK.Graphics { GL.DeleteBuffer(handle); disposed = true; } - ~VertexBufferHandle() { + ~VertexBufferArrayHandle() { Dispose(false); } }