File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
include/nbl/video/utilities Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -277,7 +277,7 @@ class NBL_API2 ISimpleManagedSurface : public core::IReferenceCounted
277277 // because we won't hold onto the `frameResources` we need to block for `waitSemaphores`
278278 {
279279 core::vector<ISemaphore::SWaitInfo> waitInfos (waitSemaphores.size ());
280- auto outWait = waitInfo .data ();
280+ auto outWait = waitInfos .data ();
281281 for (auto wait : waitSemaphores)
282282 *(outWait++) = {.semaphore =wait.semaphore ,.value =wait.value };
283283 const_cast <ILogicalDevice*>(m_queue->getOriginDevice ())->blockForSemaphores (waitInfos);
@@ -294,11 +294,10 @@ class NBL_API2 ISimpleManagedSurface : public core::IReferenceCounted
294294
295295 virtual ISwapchainResources& getSwapchainResources () = 0;
296296
297- // generally used to check that per-swapchain resources can be created (including the swapchain itself)
297+ // Generally used to check that per-swapchain resources can be created (including the swapchain itself)
298298 virtual bool init_impl (CThreadSafeQueueAdapter* queue, const ISwapchain::SSharedCreationParams& sharedParams) = 0;
299299
300- // handlers for acquisition exceptions
301- // by default we can't do anything
300+ // Handlers for acquisition exceptions, by default we can't do anything about them
302301 virtual bool handleNotReady () {return false ;}
303302 virtual uint8_t handleOutOfDate () {return ISwapchain::MaxImages;}
304303
You can’t perform that action at this time.
0 commit comments