]> git.tdb.fi Git - libs/gl.git/blobdiff - source/vertexbuffer.h
Restore old buffer binding when setting data
[libs/gl.git] / source / vertexbuffer.h
diff --git a/source/vertexbuffer.h b/source/vertexbuffer.h
deleted file mode 100644 (file)
index b0963fb..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-/* $Id$
-
-This file is part of libmspgl
-Copyright © 2007  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
-#ifndef MSP_GL_VERTEXBUFFER_H_
-#define MSP_GL_VERTEXBUFFER_H_
-
-#include "buffer.h"
-
-namespace Msp {
-namespace GL {
-
-/**
-Deprecated.  Equivalent to Buffer of type ARRAY_BUFFER.  Retained for backwards
-compatibility only.
-*/
-class VertexBuffer: public Buffer
-{
-public:
-       VertexBuffer(): Buffer(ARRAY_BUFFER) { }
-
-       static void unbind() { Buffer::unbind(ARRAY_BUFFER); }
-};
-
-} // namespace GL
-} // namespace Msp
-
-#endif