Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b51bd28 commit 7bfed5aCopy full SHA for 7bfed5a
1 file changed
code/depth_buffering.cpp
@@ -1398,7 +1398,7 @@ class HelloTriangleApplication {
1398
VkPhysicalDeviceFeatures supportedFeatures;
1399
vkGetPhysicalDeviceFeatures(device, &supportedFeatures);
1400
1401
- return indices.isComplete() && extensionsSupported && supportedFeatures.samplerAnisotropy;
+ return indices.isComplete() && extensionsSupported && swapChainAdequate && supportedFeatures.samplerAnisotropy;
1402
}
1403
1404
bool checkDeviceExtensionSupport(VkPhysicalDevice device) {
0 commit comments