Clean debug output
Review Request #124320 - Created July 10, 2015 and submitted
|Aleix Pol Gonzalez|
Removes endl in the end of qDebug.
Removes the \n in the end of opengl output.
Now I don't get weird empty output lines.
I'm very sceptical about this change. I'm quite sure that the endl were added on purpose to make important debug messages stick out or to introduce grouping. Given that I think we need to look on case by case why the endl is there and decide whether it's needed or not.
Unfortunately there is no guarantee that the debug message ends with a line break. It might be that your driver behaves that way, but there is no guarantee that all drivers behave that way.
So either check whether it ends with a line break, or leave it as.
For more information see: https://www.opengl.org/registry/specs/ARB/debug_output.txt