Skip to content

Commit b9f4a5f

Browse files
Major and minor fixes
1 parent da731f8 commit b9f4a5f

File tree

13 files changed

+234
-411
lines changed

13 files changed

+234
-411
lines changed

chap02/VulkanExample.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
#define VULKAN_EXAMPLE_HPP
33

44
#include <stdio.h>
5-
#include <stdlib.h>
6-
#include <string.h>
75
#include <vector>
86

97
#include <vulkan/vulkan.h>

chap03/VulkanExample.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
#include <cassert>
55
#include <stdio.h>
6-
#include <stdlib.h>
76
#include <vector>
87

98
#include <vulkan/vulkan.h>

chap03/chap03.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ A `VkPhysicalDevice` is a data type that we will use to represent each piece of
1010

1111
## `vkEnumeratePhysicalDevices`
1212

13-
To get a list of all the physical devices in the system, we can call use this method.
13+
To get the handles of all the physical devices in the system, we can call use `vkEnumeratePhysicalDevices`. We will call it twice. First, we'll pass in `NULL` as the last parameter. This will allow us to get `pPhysicalDeviceCount` out by passing in the address to a variable for the second argument. After that, we can allocate the memory necessary to store the `pPhysicalDevices` and call it with that variable as the last argument.
1414

1515
**Definition for `vkEnumeratePhysicalDevices`**:
1616

0 commit comments

Comments
 (0)