Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e8c59ee

Browse files
author
Diana
authored
Update 02_Validation_layers.md
1 parent 6358073 commit e8c59ee

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

03_Drawing_a_triangle/00_Setup/02_Validation_layers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,11 +180,11 @@ not:
180180
std::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

0 commit comments

Comments
 (0)