From 98f46b397b76ead7aaa701ebdadb949ac9ecb7d6 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Mon, 1 Oct 2018 19:55:30 -0700 Subject: Removed ForceRelease parameter of IDeviceContext::FinishFrame() --- Graphics/GraphicsEngine/interface/DeviceContext.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'Graphics/GraphicsEngine') diff --git a/Graphics/GraphicsEngine/interface/DeviceContext.h b/Graphics/GraphicsEngine/interface/DeviceContext.h index ccbe8745..5469931d 100644 --- a/Graphics/GraphicsEngine/interface/DeviceContext.h +++ b/Graphics/GraphicsEngine/interface/DeviceContext.h @@ -513,13 +513,11 @@ public: /// release dynamic resources. The method has some overhead, so it is better to call it once /// per frame, though it can be called with different frequency. Note that unless the GPU is idled, /// the resources may actually be released several frames after the one they were used in last time. - /// \param ForceRelease - force release all stale resources. Use this option only if you are sure - /// the resources are not in use by the GPU (the GPU has been idled or a - /// fence indicates all commands are finished). /// \note After the call all dynamic resources become invalid and must be written again before the next use. + /// Also, all committed resources become invalid. /// For deferred contexts, this method must be called after all command lists referencing dynamic resources /// have been executed through immediate context. - virtual void FinishFrame(bool ForceRelease = false) = 0; + virtual void FinishFrame() = 0; }; } -- cgit v1.2.3