From a3f6a3fd03ce5ce6b785fae70c7c890eb6f8fb7c Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Thu, 4 Oct 2018 09:50:09 -0700 Subject: Added ReleaseStaleResources() to IRenderDevice interface + a bunch of minor chnages --- Graphics/GraphicsEngineOpenGL/include/RenderDeviceGLImpl.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Graphics/GraphicsEngineOpenGL') diff --git a/Graphics/GraphicsEngineOpenGL/include/RenderDeviceGLImpl.h b/Graphics/GraphicsEngineOpenGL/include/RenderDeviceGLImpl.h index 0f12b83b..941c066b 100644 --- a/Graphics/GraphicsEngineOpenGL/include/RenderDeviceGLImpl.h +++ b/Graphics/GraphicsEngineOpenGL/include/RenderDeviceGLImpl.h @@ -80,6 +80,8 @@ public: virtual void CreateBufferFromGLHandle(Uint32 GLHandle, const BufferDesc &BuffDesc, IBuffer **ppBuffer)override final; + virtual void ReleaseStaleResources(bool ForceRelease = false)override final {} + const GPUInfo& GetGPUInfo(){ return m_GPUInfo; } FBOCache& GetFBOCache(GLContext::NativeGLContextType Context); -- cgit v1.2.3