Do not mix debug prints and stdout data stream

Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
This commit is contained in:
David Oberhollenzer 2022-07-19 20:57:12 +02:00
parent 4123b78a81
commit e58028ae18

View file

@ -179,6 +179,8 @@ int main(int argc, char **argv)
glGetIntegerv(GL_MAJOR_VERSION, &major);
glGetIntegerv(GL_MINOR_VERSION, &minor);
if (!to_stdout)
printf("OpenGL version %d.%d\n", major, minor);
/******************** initialization ********************/