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

Fix missing return in SettingStackIndexed.Push(...) #129

Closed ghost closed 8 years ago

ghost commented 8 years ago

This was causing a crash whenever I tried to do something like:

oglplus::ClientContext gl;
auto viewport = gl.Viewport.Push(0, 0, w, h);
auto scissor = gl.Scissor.Push(0, 0, w, h);