]> git.lizzy.rs Git - shadowclad.git/commitdiff
Remove reduntant glutSetWindowTitle()
authoroutfrost <kotlet.bahn@gmail.com>
Fri, 1 Feb 2019 02:00:01 +0000 (03:00 +0100)
committeroutfrost <kotlet.bahn@gmail.com>
Fri, 1 Feb 2019 02:00:01 +0000 (03:00 +0100)
main.c

diff --git a/main.c b/main.c
index 8076c54c61e660cbeb7d585296e2af73da60294c..f054e3a062fdd9515d2a27fb081b0d13d936125a 100644 (file)
--- a/main.c
+++ b/main.c
@@ -14,9 +14,7 @@ int main(int argc, char** argv) {
        glutInitWindowSize(1280, 720);
        
        glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGBA | GLUT_DEPTH);
-       glutCreateWindow(NULL);
-       
-       glutSetWindowTitle("shadowclad");
+       glutCreateWindow("shadowclad");
        
        logInfo("OpenGL %s", (const char*) glGetString(GL_VERSION));
        logInfo("GLSL %s", (const char*) glGetString(GL_SHADING_LANGUAGE_VERSION));