Skip to content

Commit 6df6f1c

Browse files
fixes in ISimpleManagedSurface
1 parent 098ece8 commit 6df6f1c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

include/nbl/video/utilities/ISimpleManagedSurface.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)