From 36ac54bbafa2e0a313b0c9c223688b37fec3e3a0 Mon Sep 17 00:00:00 2001 From: Lexxy Fox Date: Wed, 1 Nov 2023 12:24:16 -0500 Subject: [PATCH] sorted -info output by GL_ order. --- glxgears.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {