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); } }