]> git.lizzy.rs Git - shadowclad.git/commitdiff
Tweak info prints
authoroutfrost <kotlet.bahn@gmail.com>
Sat, 27 Jun 2020 02:26:45 +0000 (04:26 +0200)
committeroutfrost <kotlet.bahn@gmail.com>
Sat, 27 Jun 2020 02:26:45 +0000 (04:26 +0200)
src/engine/engine.c

index aba8cd20373bf3f0214e2de476a493ef4d2efbe9..34c6d143f1362bbbaf6c289f4a496e2b94c9f502 100644 (file)
@@ -57,7 +57,7 @@ void init(EngineConfig config) {
 
        logInfo("OpenGL %s", (const char*) glGetString(GL_VERSION));
        logInfo("GLSL %s", (const char*) glGetString(GL_SHADING_LANGUAGE_VERSION));
-       logInfo("%s", (const char*) glGetString(GL_RENDERER));
+       logInfo("Renderer: %s", (const char*) glGetString(GL_RENDERER));
 
        GLenum glewInitStatus = glewInit();
        if (glewInitStatus != GLEW_OK) {
@@ -65,7 +65,7 @@ void init(EngineConfig config) {
                exit(EXIT_LIB_FAIL);
        }
 
-       logInfo("Setting swap interval to %d", config.swapInterval);
+       logInfo("Setting swap interval: %d", config.swapInterval);
        glfwSwapInterval(config.swapInterval);
 
        int width, height;