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
494 stars 71 forks source link

oglplus::Texture::MaxLevel? #15

Closed Alexander-Shukaev closed 11 years ago

Alexander-Shukaev commented 11 years ago

The title tells it all. Didn't you forget to wrap this one, did you? Currently, I need it for my project. Can I just use (I mean mix this bare call with OGLplus calls)

glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAX_LEVEL, 0);

for the time being until you fix it?

matus-chochlik commented 11 years ago

Indeed I did forget about that, didn't I? But now the wait is over and you can use Texture::MaxLevel in your project. Fixed on the develop branch since commit 5dba7828c4b6614bd75027569bd6bae3e9b10107 so you can pull that or you can do as you suggested and use in the meantime glTexParameteri and wait for the next release which is due in a couple of days. Thanks for reporting this.

Alexander-Shukaev commented 11 years ago

Incredible! Huge thanks for your work, Matus, keep it up! :+1:

matus-chochlik commented 11 years ago

No problem, thanks again.