From 0990379db81cb5abd6e4c0ca675fdee06c7b04c2 Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Tue, 30 Jul 2024 12:25:01 +1000 Subject: [PATCH] Update StarRenderer_opengl.cpp --- source/application/StarRenderer_opengl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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!");