Skip to content

Commit b65ff32

Browse files
committed
enabledLayers was wrong, should be requiredLayers instead
1 parent 537c2ed commit b65ff32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

en/03_Drawing_a_triangle/00_Setup/02_Validation_layers.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ We can now use this function in `createInstance`:
201201
[,c++]
202202
----
203203
auto extensions = getRequiredExtensions();
204-
vk::InstanceCreateInfo createInfo({}, &appInfo, enabledLayers, extensions);
204+
vk::InstanceCreateInfo createInfo({}, &appInfo, requiredLayers, extensions);
205205
----
206206

207207
Run the program to make sure you don't receive a

0 commit comments

Comments
 (0)