sorted -info output by GL_ order.

This commit is contained in:
Lexxy Fox 2023-11-01 12:24:16 -05:00
parent 6236b6f155
commit 36ac54bbaf

View File

@ -348,9 +348,9 @@ static void init(int argc, char *argv[]) {
for (i = 1; i < argc; i++) { for (i = 1; i < argc; i++) {
if (strcmp(argv[i], "-info") == 0) { 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_RENDERER = %s\n", (char *)glGetString(GL_RENDERER));
printf("GL_VERSION = %s\n", (char *)glGetString(GL_VERSION)); 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)); printf("GL_EXTENSIONS = %s\n", (char *)glGetString(GL_EXTENSIONS));
fflush(stdout); fflush(stdout);
} else if (strcmp(argv[i], "-exit") == 0) { } else if (strcmp(argv[i], "-exit") == 0) {