matus-chochlik / oglplus

OGLplus is a collection of open-source, cross-platform libraries which implement an object-oriented facade over the OpenGL® (version 3 and higher) and also OpenAL® (version 1.1) and EGL (version 1.4) C-language APIs. It provides wrappers which automate resource and object management and make the use of these libraries in C++ safer and more convenient.
http://oglplus.org/
Boost Software License 1.0
492 stars 72 forks source link

Propagate OpenGL version info to examples. #110

Closed bfops closed 9 years ago

bfops commented 9 years ago

This fixes bugs where the default version used isn't the one used in configuration, but only for GLUT and GLFW3. These fixes should almost definitely happen for the other context initializations too, but I couldn't get them set up trivially. I can maybe take another stab at them tomorrow.

matus-chochlik commented 9 years ago

I had to do some adjustments, since the changes broke the GL version detection on my machine. I'm running some tests and will merge this shortly.

bfops commented 9 years ago

Thanks!