Fix warning.
This commit is contained in:
@@ -1236,8 +1236,6 @@ void VulkanDriver::nextSubpass(int) {
|
||||
ASSERT_PRECONDITION(mContext.currentRenderPass.currentSubpass == 0,
|
||||
"Only two subpasses are currently supported.");
|
||||
|
||||
VulkanSwapChain* const swapChain = mContext.currentSurface;
|
||||
|
||||
assert_invariant(swapChain);
|
||||
assert_invariant(mCurrentRenderTarget);
|
||||
assert_invariant(mContext.currentRenderPass.subpassMask);
|
||||
|
||||
Reference in New Issue
Block a user