From c6d280206016cff490b94209eecb950f411ac39c Mon Sep 17 00:00:00 2001 From: swinston Date: Thu, 20 Aug 2026 17:46:41 -0700 Subject: [PATCH] Clarify that validation layer availability can change at runtime --- .../00_Setup/02_Validation_layers.adoc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/en/03_Drawing_a_triangle/00_Setup/02_Validation_layers.adoc b/en/03_Drawing_a_triangle/00_Setup/02_Validation_layers.adoc index cd1e8dde..06de7a13 100644 --- a/en/03_Drawing_a_triangle/00_Setup/02_Validation_layers.adoc +++ b/en/03_Drawing_a_triangle/00_Setup/02_Validation_layers.adoc @@ -211,9 +211,10 @@ void createInstance() } ---- -If the check was successful then the `vk::raii::Instance` constructor should not -ever throw a `vk::Result::eErrorLayerNotPresent` error, but you should run the -program to make sure. +If the check was successful, the `vk::raii::Instance` constructor should not +throw a `vk::Result::eErrorLayerNotPresent` error. However, the set of layers +available on the system can change between the check and the call - or between +separate runs of the program - so you should still run the program to make sure. == Message callback