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

Skip to content

Commit 97dd2ea

Browse files
author
Diana
authored
Update model_loading.cpp
1 parent 7bfed5a commit 97dd2ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

code/model_loading.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1444,7 +1444,7 @@ class HelloTriangleApplication {
14441444
VkPhysicalDeviceFeatures supportedFeatures;
14451445
vkGetPhysicalDeviceFeatures(device, &supportedFeatures);
14461446

1447-
return indices.isComplete() && extensionsSupported && supportedFeatures.samplerAnisotropy;
1447+
return indices.isComplete() && extensionsSupported && swapChainAdequate && supportedFeatures.samplerAnisotropy;
14481448
}
14491449

14501450
bool checkDeviceExtensionSupport(VkPhysicalDevice device) {

0 commit comments

Comments
 (0)