diff options
Diffstat (limited to 'layers/core_validation.cpp')
| -rw-r--r-- | layers/core_validation.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index d002ca5d..4720d25b 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -3749,8 +3749,7 @@ static void resetCB(layer_data *dev_data, const VkCommandBuffer cb) { } } pCB->framebuffers.clear(); - pCB->activeFramebuffer = nullptr; - + pCB->activeFramebuffer = VK_NULL_HANDLE; } } @@ -9056,7 +9055,7 @@ VKAPI_ATTR void VKAPI_CALL CmdEndRenderPass(VkCommandBuffer commandBuffer) { TransitionFinalSubpassLayouts(commandBuffer, &pCB->activeRenderPassBeginInfo); pCB->activeRenderPass = nullptr; pCB->activeSubpass = 0; - pCB->activeFramebuffer = nullptr; + pCB->activeFramebuffer = VK_NULL_HANDLE; } lock.unlock(); if (!skipCall) |
