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 26b8ca8 commit b51bd28Copy full SHA for b51bd28
1 file changed
code/texture_mapping.cpp
@@ -1300,7 +1300,7 @@ class HelloTriangleApplication {
1300
VkPhysicalDeviceFeatures supportedFeatures;
1301
vkGetPhysicalDeviceFeatures(device, &supportedFeatures);
1302
1303
- return indices.isComplete() && extensionsSupported && supportedFeatures.samplerAnisotropy;
+ return indices.isComplete() && extensionsSupported && swapChainAdequate && supportedFeatures.samplerAnisotropy;
1304
}
1305
1306
bool checkDeviceExtensionSupport(VkPhysicalDevice device) {
0 commit comments