From 0d3cf5a648bfc142e92a5642f95a543c06eeb49d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Fri, 11 Feb 2022 23:43:06 +0100 Subject: [PATCH] Vk: doc++ --- src/Magnum/Vk/DeviceProperties.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Magnum/Vk/DeviceProperties.h b/src/Magnum/Vk/DeviceProperties.h index 336a39aaf..772fce03c 100644 --- a/src/Magnum/Vk/DeviceProperties.h +++ b/src/Magnum/Vk/DeviceProperties.h @@ -741,7 +741,12 @@ class MAGNUM_VK_EXPORT DeviceProperties { /* Combines isVersionSupported(E::coreVersion()) and ExtensionProperties::isSupported(). Used internally to avoid - accidents with incorrectly specified extension core version. */ + accidents with incorrectly specified extension core version when + we'd separately check the version and extensionPropertiesInternal(); + not published because extensionPropertiesInternal() doesn't include + any layers and thus the behavior would be confusing to the user. Not + to mention there would be extra hurdle with the template and + dependency on ExtensionProperties. */ template MAGNUM_VK_LOCAL bool isOrVersionSupportedInternal(); /* Used by DeviceCreateInfo */