X-Git-Url: https://git.ralfj.de/gltest.git/blobdiff_plain/b4dc0596570275aa9def5ff63af951beb8473d58..a0cb14324fbd2791d62df09e8d10541f280b60ee:/glwindow.cpp?ds=inline diff --git a/glwindow.cpp b/glwindow.cpp index ca6dbb9..64d0075 100644 --- a/glwindow.cpp +++ b/glwindow.cpp @@ -17,6 +17,7 @@ */ #include "glwindow.h" +#include "glutil.h" #include #include @@ -60,6 +61,7 @@ void GLWindow::create(unsigned int width, unsigned int height) this->width = width; this->height = height; backend->createContext(window); + printf("Using GL version: %s\n", glGetString(GL_VERSION)); initGL(); resizeGL(width, height); }