From 864bc699cf580e3410a02138d2a6d1df1fa2013c Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Sun, 14 Apr 2019 20:29:54 +0200 Subject: [PATCH] sdl: display GL context version upon creation. --- src/application/sdl-app.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/application/sdl-app.cpp b/src/application/sdl-app.cpp index b1693981..29311a70 100644 --- a/src/application/sdl-app.cpp +++ b/src/application/sdl-app.cpp @@ -67,6 +67,7 @@ sdl::app_display::app_display(char const *title, ivec2 res) SDL_GetWindowSize(m_window, &res.x, &res.y); m_glcontext = SDL_GL_CreateContext(m_window); + msg::info("created GL context: %s\n", glGetString(GL_VERSION)); /* Initialise everything */ Video::Setup(res); //TODO ?? Should it be here ?