diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-10-04 16:50:09 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-10-04 16:50:09 +0000 |
| commit | a3f6a3fd03ce5ce6b785fae70c7c890eb6f8fb7c (patch) | |
| tree | 8aa9b14d95131ffb70537dc23271740eca3097af /Graphics/GraphicsEngineOpenGL | |
| parent | Setting debug names of D3D11 objects (diff) | |
| download | DiligentCore-a3f6a3fd03ce5ce6b785fae70c7c890eb6f8fb7c.tar.gz DiligentCore-a3f6a3fd03ce5ce6b785fae70c7c890eb6f8fb7c.zip | |
Added ReleaseStaleResources() to IRenderDevice interface + a bunch of minor chnages
Diffstat (limited to 'Graphics/GraphicsEngineOpenGL')
| -rw-r--r-- | Graphics/GraphicsEngineOpenGL/include/RenderDeviceGLImpl.h | 2 |
1 files changed, 2 insertions, 0 deletions
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); |
