summaryrefslogtreecommitdiff
path: root/Runtime/Graphics/VertexBuffer.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-11-01 12:10:29 +0800
committerchai <chaifix@163.com>2021-11-01 12:10:29 +0800
commit44d6c41e5e586572de08c72c358aed9100a30353 (patch)
treea3dee8cbb9f7181c88464b31f231a264c570acd4 /Runtime/Graphics/VertexBuffer.h
parent78417f6cdedfcf60c8ca437190975644e942e01f (diff)
*log
Diffstat (limited to 'Runtime/Graphics/VertexBuffer.h')
-rw-r--r--Runtime/Graphics/VertexBuffer.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/Runtime/Graphics/VertexBuffer.h b/Runtime/Graphics/VertexBuffer.h
index 5e4fdf2..e6fd9ee 100644
--- a/Runtime/Graphics/VertexBuffer.h
+++ b/Runtime/Graphics/VertexBuffer.h
@@ -1,5 +1,4 @@
-#ifndef VBO_H
-#define VBO_H
+#pragma once
#include <vector>
@@ -31,8 +30,8 @@ public:
private:
VertexBufferType m_Type;
+
GPU::DataBuffer* m_VB;
GPU::DataBuffer* m_IB;
-};
-#endif \ No newline at end of file
+};