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
277
277
// because we won't hold onto the `frameResources` we need to block for `waitSemaphores`
278
278
{
279
279
core::vector<ISemaphore::SWaitInfo> waitInfos (waitSemaphores.size ());
280
- auto outWait = waitInfo .data ();
280
+ auto outWait = waitInfos .data ();
281
281
for (auto wait : waitSemaphores)
282
282
*(outWait++) = {.semaphore =wait.semaphore ,.value =wait.value };
283
283
const_cast <ILogicalDevice*>(m_queue->getOriginDevice ())->blockForSemaphores (waitInfos);
@@ -294,11 +294,10 @@ class NBL_API2 ISimpleManagedSurface : public core::IReferenceCounted
294
294
295
295
virtual ISwapchainResources& getSwapchainResources () = 0;
296
296
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)
298
298
virtual bool init_impl (CThreadSafeQueueAdapter* queue, const ISwapchain::SSharedCreationParams& sharedParams) = 0;
299
299
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
302
301
virtual bool handleNotReady () {return false ;}
303
302
virtual uint8_t handleOutOfDate () {return ISwapchain::MaxImages;}
304
303
You can’t perform that action at this time.
0 commit comments