cginternals / globjects

C++ library strictly wrapping OpenGL objects.
https://globjects.org
MIT License
538 stars 59 forks source link

Logging doesn't support glbinding's types #277

Closed mrzzzrm closed 9 years ago

mrzzzrm commented 9 years ago

One can write e.g. gl::GLenums to a std::ostream thanks to the overloads in gl/types.h. globjects::LogMessageBuilder however can't output them, even though globjects and glbinding are pretty tightly coupled.

scheibel commented 9 years ago

I added more types to the logging but are there any other missing? GLbitfield is a special case since it is currently just a typedef to an unsigned int...I don't know whether we are fixing this so it can be printed using 0s and 1s.