From 51ced5a191078ce4ef08d57e343e91db007f556f Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 27 Oct 2021 19:30:06 +0800 Subject: *misc --- Runtime/Graphics/Device.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Runtime/Graphics/Device.cpp') diff --git a/Runtime/Graphics/Device.cpp b/Runtime/Graphics/Device.cpp index 8136a54..9ba2e23 100644 --- a/Runtime/Graphics/Device.cpp +++ b/Runtime/Graphics/Device.cpp @@ -16,7 +16,7 @@ Device::~Device() void Device::Initialize(DeviceSetting& setting) { - GPU::BufferPool::Instance()->Initialize(); + //GPU::BufferPool::Instance()->Initialize(); } void Device::Enable(DeviceEnable enabled) @@ -72,7 +72,7 @@ void Device::BeginFrame() void Device::EndFrame() { - GPU::BufferPool::Instance()->OnEndFrame(); + //GPU::BufferPool::Instance()->OnEndFrame(); m_IsInsideFrame = false; } -- cgit v1.1-26-g67d0