File tree Expand file tree Collapse file tree
03_Drawing_a_triangle/00_Setup Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,13 +29,13 @@ certain special behavior. This struct is called `VkApplicationInfo`:
2929
3030``` c++
3131void createInstance () {
32- VkApplicationInfo appInfo = {};
33- appInfo.sType = VK_STRUCTURE_TYPE_APPLICATION_INFO;
34- appInfo.pApplicationName = "Hello Triangle";
35- appInfo.applicationVersion = VK_MAKE_VERSION(1, 0, 0);
36- appInfo.pEngineName = "No Engine";
37- appInfo.engineVersion = VK_MAKE_VERSION(1, 0, 0);
38- appInfo.apiVersion = VK_API_VERSION_1_0;
32+ VkApplicationInfo appInfo = {};
33+ appInfo.sType = VK_STRUCTURE_TYPE_APPLICATION_INFO;
34+ appInfo.pApplicationName = "Hello Triangle";
35+ appInfo.applicationVersion = VK_MAKE_VERSION(1, 0, 0);
36+ appInfo.pEngineName = "No Engine";
37+ appInfo.engineVersion = VK_MAKE_VERSION(1, 0, 0);
38+ appInfo.apiVersion = VK_API_VERSION_1_0;
3939}
4040```
4141
You can’t perform that action at this time.
0 commit comments