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.
per #103 the new _invalid_name() method returns the ones-complement of zero, which for a GLuint is not a negative number. Hence the comparison always succeeds. I'm not clear why _name_ptr() is still returning the value for the object prior to when it was set to _invalid_name() though.
per #103 the new
_invalid_name()
method returns the ones-complement of zero, which for a GLuint is not a negative number. Hence the comparison always succeeds. I'm not clear why _name_ptr() is still returning the value for the object prior to when it was set to_invalid_name()
though.