summaryrefslogtreecommitdiff
path: root/Runtime/Graphics
diff options
context:
space:
mode:
Diffstat (limited to 'Runtime/Graphics')
-rw-r--r--Runtime/Graphics/DynamicVertexBuffer.h1
-rw-r--r--Runtime/Graphics/VertexBuffer.h7
2 files changed, 4 insertions, 4 deletions
diff --git a/Runtime/Graphics/DynamicVertexBuffer.h b/Runtime/Graphics/DynamicVertexBuffer.h
index a849f4c..b520d1b 100644
--- a/Runtime/Graphics/DynamicVertexBuffer.h
+++ b/Runtime/Graphics/DynamicVertexBuffer.h
@@ -10,6 +10,7 @@
#include "CustomVertexLayout.h"
#include "Primitive.h"
+// ¶¯Ì¬Ìî³äµÄVBO
class DynamicVertexBuffer
{
public:
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
+};