forked from goliath/shadermeh
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,7 +179,9 @@ int main(int argc, char **argv)
|
|||
|
||||
glGetIntegerv(GL_MAJOR_VERSION, &major);
|
||||
glGetIntegerv(GL_MINOR_VERSION, &minor);
|
||||
printf("OpenGL version %d.%d\n", major, minor);
|
||||
|
||||
if (!to_stdout)
|
||||
printf("OpenGL version %d.%d\n", major, minor);
|
||||
|
||||
/******************** initialization ********************/
|
||||
glViewport(0, 0, width, height);
|
||||
|
|
Loading…
Reference in a new issue