diff --git a/glxgears.c b/glxgears.c index 3de8cbd..7498194 100644 --- a/glxgears.c +++ b/glxgears.c @@ -348,9 +348,9 @@ static void init(int argc, char *argv[]) { for (i = 1; i < argc; i++) { if (strcmp(argv[i], "-info") == 0) { + printf("GL_VENDOR = %s\n", (char *)glGetString(GL_VENDOR)); printf("GL_RENDERER = %s\n", (char *)glGetString(GL_RENDERER)); printf("GL_VERSION = %s\n", (char *)glGetString(GL_VERSION)); - printf("GL_VENDOR = %s\n", (char *)glGetString(GL_VENDOR)); printf("GL_EXTENSIONS = %s\n", (char *)glGetString(GL_EXTENSIONS)); fflush(stdout); } else if (strcmp(argv[i], "-exit") == 0) {