From 7f2a18104f908611926e92d092a0081e11b3074b Mon Sep 17 00:00:00 2001 From: LoganDooley Date: Tue, 1 Nov 2022 21:02:49 -0400 Subject: [PATCH] Minor comment updates --- src/glrenderer.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/glrenderer.cpp b/src/glrenderer.cpp index 735153b..db13624 100644 --- a/src/glrenderer.cpp +++ b/src/glrenderer.cpp @@ -20,11 +20,13 @@ void GLRenderer::finish() void GLRenderer::initializeGL() { + // Initializes the GLEW library/provides access to OpenGL functions glewExperimental = GL_TRUE; GLenum err = glewInit(); if (GLEW_OK != err) fprintf(stderr, "Error: %s\n", glewGetErrorString(err)); fprintf(stdout, "Using GLEW %s\n", glewGetString(GLEW_VERSION)); - glViewport(0, 0, size().width(), size().height()); + + glViewport(0, 0, size().width(), size().height()); // Tells your computer the size of the screen it will draw to // Task 4: Set the clear color here