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 @@ -62,7 +62,7 @@ the window system. GLFW has a handy built-in function that returns the
6262extension(s) it needs to do that which we can pass to the struct:
6363
6464``` c++
65- unsigned int glfwExtensionCount = 0 ;
65+ uint32_t glfwExtensionCount = 0 ;
6666const char ** glfwExtensions;
6767
6868glfwExtensions = glfwGetRequiredInstanceExtensions(&glfwExtensionCount);
Original file line number Diff line number Diff line change @@ -180,11 +180,11 @@ not:
180180std::vector<const char *> getRequiredExtensions () {
181181 std::vector<const char*> extensions;
182182
183- unsigned int glfwExtensionCount = 0;
183+ uint32_t glfwExtensionCount = 0;
184184 const char** glfwExtensions;
185185 glfwExtensions = glfwGetRequiredInstanceExtensions(&glfwExtensionCount);
186186
187- for (unsigned int i = 0; i < glfwExtensionCount; i++) {
187+ for (uint32_t i = 0; i < glfwExtensionCount; i++) {
188188 extensions.push_back(glfwExtensions[i]);
189189 }
190190
You can’t perform that action at this time.
0 commit comments