sorted -info output by GL_ order.
This commit is contained in:
parent
6236b6f155
commit
36ac54bbaf
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user