diff options
Diffstat (limited to 'Runtime/Graphics/Device.h')
-rw-r--r-- | Runtime/Graphics/Device.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Runtime/Graphics/Device.h b/Runtime/Graphics/Device.h index 4e02b72..e445efa 100644 --- a/Runtime/Graphics/Device.h +++ b/Runtime/Graphics/Device.h @@ -18,7 +18,7 @@ struct DeviceSetting class Device : public NonCopyable { -public: +public: Device(); ~Device(); @@ -41,7 +41,8 @@ public: void EndFrame(); void PresentFrame(); - GET(SharedVertexBuffer*, SharedVBO, m_SharedVBO); + //GET(SharedVertexBuffer*, SharedVBO, m_SharedVBO); + SharedVertexBuffer* GetSharedVBO() { return &m_SharedVBO; } GET_SET(Color, ClearColor, m_ClearColor); |