Resolve some more validation layer issues. (#1643)
This commit is contained in:
committed by
GitHub
parent
14d048e9bf
commit
fee04df943
@@ -263,8 +263,8 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
device.destroyPipelineLayout( pipelineLayout );
|
||||
device.destroyDescriptorSetLayout( descriptorSetLayout );
|
||||
device.destroyImageView( inputAttachmentView );
|
||||
device.destroyImage( inputImage ); // destroy the inputImage before freeing the bound inputMemory !
|
||||
device.freeMemory( inputMemory );
|
||||
device.destroyImage( inputImage );
|
||||
swapChainData.clear( device );
|
||||
device.freeCommandBuffers( commandPool, commandBuffer );
|
||||
device.destroyCommandPool( commandPool );
|
||||
|
||||
Reference in New Issue
Block a user