Do not mix debug prints and stdout data stream
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
This commit is contained in:
parent
4123b78a81
commit
e58028ae18
1 changed files with 3 additions and 1 deletions
|
@ -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 ********************/
|
||||
|
|
Loading…
Reference in a new issue