aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/mglpp/graphics/VertexBuffer.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mglpp/graphics/VertexBuffer.hpp b/include/mglpp/graphics/VertexBuffer.hpp
index 03d8763..e2e32b8 100644
--- a/include/mglpp/graphics/VertexBuffer.hpp
+++ b/include/mglpp/graphics/VertexBuffer.hpp
@@ -21,6 +21,8 @@ namespace mgl {
};
VertexBuffer();
+ VertexBuffer(const VertexBuffer&) = delete;
+ VertexBuffer& operator=(const VertexBuffer&) = delete;
~VertexBuffer();
void set_position(vec2f position) override;