diff --git a/source/application/StarRenderer_opengl.cpp b/source/application/StarRenderer_opengl.cpp index a22bb35..72d56b8 100644 --- a/source/application/StarRenderer_opengl.cpp +++ b/source/application/StarRenderer_opengl.cpp @@ -92,7 +92,7 @@ static void GLAPIENTRY GlMessageCallback(GLenum, GLenum type, GLuint, GLenum, GL OpenGlRenderer::OpenGlRenderer() { auto result = glewInit(); if (result != GLEW_OK) - throw RendererException::format("Could not initialize GLEW: {}", (char*)glewGetErrorString(result)); + throw RendererException::format("Could not initialize GLEW: {} - {}", result, (char*)glewGetErrorString(result)); if (!GLEW_VERSION_2_0) throw RendererException("OpenGL 2.0 not available!");