diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-06-27 19:24:35 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-06-27 19:24:35 +1000 |
commit | 14b9689b6d4f4ad5276c88130dc6e449bedc0709 (patch) | |
tree | 829e760821fb887470ba2a820d309db1428f7f17 /source/application/StarRenderer_opengl20.cpp | |
parent | c9e889723b7af832322d178975e6e440d6cd3ae5 (diff) |
Change formatting to use fmtlib (STILL NEED TO CHANGE TO FMT SYNTAX!)
Diffstat (limited to 'source/application/StarRenderer_opengl20.cpp')
-rw-r--r-- | source/application/StarRenderer_opengl20.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/application/StarRenderer_opengl20.cpp b/source/application/StarRenderer_opengl20.cpp index 46c2eba..e80d745 100644 --- a/source/application/StarRenderer_opengl20.cpp +++ b/source/application/StarRenderer_opengl20.cpp @@ -77,10 +77,10 @@ OpenGl20Renderer::OpenGl20Renderer() { throw RendererException("OpenGL 2.0 not available!"); Logger::info("OpenGL version: '%s' vendor: '%s' renderer: '%s' shader: '%s'", - glGetString(GL_VERSION), - glGetString(GL_VENDOR), - glGetString(GL_RENDERER), - glGetString(GL_SHADING_LANGUAGE_VERSION)); + (const char*)glGetString(GL_VERSION), + (const char*)glGetString(GL_VENDOR), + (const char*)glGetString(GL_RENDERER), + (const char*)glGetString(GL_SHADING_LANGUAGE_VERSION)); glClearColor(0.0, 0.0, 0.0, 1.0); glEnable(GL_TEXTURE_2D); |