From 3239ba18797b1aa098056aa0c2a70e250a27a06c Mon Sep 17 00:00:00 2001 From: chai Date: Sun, 24 Oct 2021 13:24:13 +0800 Subject: * port shader --- Runtime/Graphics/Device.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Runtime/Graphics/Device.h') 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); -- cgit v1.1-26-g67d0