Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7bfed5a

Browse files
author
Diana
authored
Update depth_buffering.cpp
1 parent b51bd28 commit 7bfed5a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

code/depth_buffering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1398,7 +1398,7 @@ class HelloTriangleApplication {
13981398
VkPhysicalDeviceFeatures supportedFeatures;
13991399
vkGetPhysicalDeviceFeatures(device, &supportedFeatures);
14001400

1401-
return indices.isComplete() && extensionsSupported && supportedFeatures.samplerAnisotropy;
1401+
return indices.isComplete() && extensionsSupported && swapChainAdequate && supportedFeatures.samplerAnisotropy;
14021402
}
14031403

14041404
bool checkDeviceExtensionSupport(VkPhysicalDevice device) {

0 commit comments

Comments
 (0)