Skip to content

Commit

Permalink
[Vk] Fixed Validation Error: [ VUID-VkPresentInfoKHR-pImageIndices-01…
Browse files Browse the repository at this point in the history
…430 ] vkQueuePresentKHR(): pPresentInfo->pSwapchains[0] images passed to present must be in layout VK_IMAGE_LAYOUT_PRESENT_SRC_KHR or VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR but is in VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL.
  • Loading branch information
eugenegff committed Sep 25, 2024
1 parent 2300f52 commit dfefc69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OgreMain/include/Compositor/OgreCompositorWorkspace.h
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ namespace Ogre
/// Only valid workspaces can update without crashing
bool isValid() const { return mValid; }

void setEnabled( bool bEnabled ) { mEnabled = bEnabled; }
void setEnabled( bool bEnabled ) { mEnabled = bEnabled; _notifyBarriersDirty(); }
bool getEnabled() const { return mEnabled; }

/** When building with OGRE_PROFILING enabled, setting this option to true
Expand Down

0 comments on commit dfefc69

Please sign in to comment.