X-Git-Url: https://git.ralfj.de/gltest.git/blobdiff_plain/a0cb14324fbd2791d62df09e8d10541f280b60ee..dac0dad539be501c94cb8646d979e6e7787e1992:/eglbackend.cpp diff --git a/eglbackend.cpp b/eglbackend.cpp index cbe724c..ef27997 100644 --- a/eglbackend.cpp +++ b/eglbackend.cpp @@ -17,6 +17,7 @@ */ #include "eglbackend.h" +#include "glutil.h" #include #include @@ -120,6 +121,9 @@ void EGLBackend::createContext(Window window) exitEglError("Failed to create context"); if (eglMakeCurrent(display, surface, surface, context) == EGL_FALSE) exitEglError("Failed to make context current"); + printf("Using GL version: %s\n", glGetString(GL_VERSION)); + // initialise GL utilities + resolveFunctionPointers(eglGetProcAddress); } EGLBackend::~EGLBackend()