Renamed VertexBufferArrayHandle.cs
This commit is contained in:
parent
9a9afd52b2
commit
8f327f30e3
@ -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);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user