aboutsummaryrefslogtreecommitdiff
path: root/layers/core_validation.cpp
diff options
context:
space:
mode:
authorTobin Ehlis <tobine@google.com>2016-05-16 08:36:40 -0600
committerTobin Ehlis <tobine@google.com>2016-05-16 08:36:40 -0600
commitb1dcfc218c80ddc8576766d736d1edf47d27ca70 (patch)
tree6d99eeb2a9ad8a55ece8e7cbec567917a91eeb45 /layers/core_validation.cpp
parentd294ac6b07954f893e048d95b561d7173cbd689b (diff)
downloadusermoji-b1dcfc218c80ddc8576766d736d1edf47d27ca70.tar.xz
layers: Fix android build errors
Diffstat (limited to 'layers/core_validation.cpp')
-rw-r--r--layers/core_validation.cpp5
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)