From 2e46f8ae07a6881165db323740dae3abe10138d7 Mon Sep 17 00:00:00 2001 From: 4VRDriver <44267643+4VRDriver@users.noreply.github.com> Date: Tue, 1 Sep 2020 20:19:26 +0200 Subject: [PATCH] Print OpenGL version --- Window.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Window.cpp b/Window.cpp index af1db3a..d5c65f8 100644 --- a/Window.cpp +++ b/Window.cpp @@ -21,6 +21,7 @@ Window::Window() { } glViewport(0, 0, width, height); + std::cout << "OpenGL version: " << glGetString(GL_VERSION) << std::endl; // Tell GLFW which function to call when window is resized glfwSetFramebufferSizeCallback(window, framebuffer_size_callback);