diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-07-30 12:25:01 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-07-30 12:25:01 +1000 |
commit | 0990379db81cb5abd6e4c0ca675fdee06c7b04c2 (patch) | |
tree | 6378527a0bfb136e87cddda497638364b301f9e7 /source/application | |
parent | db836d0ca4459c00540fa251a7078b0fe24bdecc (diff) |
Update StarRenderer_opengl.cpp
Diffstat (limited to 'source/application')
-rw-r--r-- | source/application/StarRenderer_opengl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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!"); |