summaryrefslogtreecommitdiff
path: root/Runtime/Graphics/VertexBuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'Runtime/Graphics/VertexBuffer.h')
-rw-r--r--Runtime/Graphics/VertexBuffer.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/Runtime/Graphics/VertexBuffer.h b/Runtime/Graphics/VertexBuffer.h
index 9179e0d..cf33cc5 100644
--- a/Runtime/Graphics/VertexBuffer.h
+++ b/Runtime/Graphics/VertexBuffer.h
@@ -7,7 +7,7 @@
#include "../Shaders/ShaderChannel.h"
#include "OpenGL.h"
-#include "GpuDataBuffer.h"
+#include "GPUDataBuffers.h"
enum VertexAttr
{
@@ -62,7 +62,8 @@ public:
private:
VertexBufferType m_Type;
- GPU::DataBuffer *m_VB, *m_IB;// vertex buffer and index buffer
+ VBO *m_VB;
+ IBO *m_IB;// vertex buffer and index buffer
};
@@ -87,7 +88,8 @@ private:
enum { DataBufferThreshold = 1024 };
// shared vbo and ibo
- GPU::DataBuffer *m_CurVB, *m_CurIB;
+ VBO *m_CurVB;
+ IBO *m_CurIB;
// restore vbo and ibo data if not using pinned memory mapping
std::vector<byte> m_CurVBData;