change vkWaitForFences call to vkGetFenceStatus
	
		
			
	
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
					Details
				
			
		
	
				
					
				
			
				
	
				continuous-integration/drone/push Build is passing
				
					Details
				
			
		
	
							parent
							
								
									4cdd6a497a
								
							
						
					
					
						commit
						c0c6d2f9fd
					
				|  | @ -9955,13 +9955,9 @@ static void VULKAN_Submit( | ||||||
| 
 | 
 | ||||||
| 	for (i = renderer->submittedCommandBufferCount - 1; i >= 0; i -= 1) | 	for (i = renderer->submittedCommandBufferCount - 1; i >= 0; i -= 1) | ||||||
| 	{ | 	{ | ||||||
| 		/* If we set a timeout of 0, we can query the command buffer state */ | 		vulkanResult = renderer->vkGetFenceStatus( | ||||||
| 		vulkanResult = renderer->vkWaitForFences( |  | ||||||
| 			renderer->logicalDevice, | 			renderer->logicalDevice, | ||||||
| 			1, | 			renderer->submittedCommandBuffers[i]->inFlightFence | ||||||
| 			&renderer->submittedCommandBuffers[i]->inFlightFence, |  | ||||||
| 			VK_TRUE, |  | ||||||
| 			0 |  | ||||||
| 		); | 		); | ||||||
| 
 | 
 | ||||||
| 		if (vulkanResult == VK_SUCCESS) | 		if (vulkanResult == VK_SUCCESS) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue