pioneerspacesim/pioneer — pull request #1071 by robn (2012-03-14 11:01:15+00:00)
Title: Remove graphics/renderer dependencies on Pi/utils

Makes the following changes:

* Removed `Graphics::PrintGLInfo`, added per-renderer `PrintDebugInfo` that takes an `ostream` to write to. This is created in `Pi::Init` so the renderer doesn't have to know about files.
* Remove `glError`, move functionality into `RendererLegacy::SwapBuffers`, which was the only place it was being called from anyway.
* Shader compile failure now outputs to stderr instead of redscreening. It still crashes shortly after (when RendererGL2 attempts to use an uninitialised shader), but that's an existing bug. This patchset makes no attempt to fix that.