From 8e00014ad0b013d0eda20faf2fddfd9c8a817b7b Mon Sep 17 00:00:00 2001 From: Abdelrahman Date: Sun, 22 Sep 2024 20:26:03 +0100 Subject: [PATCH] Update VAO comment --- src/main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cc b/src/main.cc index 54359ec..3dd030e 100644 --- a/src/main.cc +++ b/src/main.cc @@ -31,7 +31,7 @@ struct App { SDL_GLContext context; SDL_Event event; - // Defines the different attributes in the vertex data and how to access them. + // VAO is an object that stores the state needed to supply the GPU with the vertex data. // Think of it as a specification or a C struct that defines the types of data stored for the // vertex array including the attributes for each vertex as well the indices buffer if it exists. GLuint vao;