This kills the funky GL logging stubs, which unnecessarily complicates the build process (think future cmake). As for logging GL calls: Use apitrace for that https://github.com/apitrace/apitrace
unused variable
Excluding 3rd party files.