diff --git a/doc/changelog.dox b/doc/changelog.dox index 278b11fa1..c5484881c 100644 --- a/doc/changelog.dox +++ b/doc/changelog.dox @@ -103,6 +103,14 @@ See also: - Ability to specify application return code in @ref Platform::AbstractXApplication::exit() +@subsubsection changelog-latest-changes-gl GL library + +- Added @ref GL::AbstractTexture::bind() and + @ref GL::AbstractTexture::bindImages() overloads taking a + @ref Corrade::Containers::ArrayView instead of @ref std::initializer_list + in order to allow passing runtime-sized lists (see + [mosra/magnum#403](https://github.com/mosra/magnum/pull/403)) + @subsubsection changelog-latest-changes-platform Platform libraries - Worked around @ref Platform::GlfwApplication crash while creating GL diff --git a/src/Magnum/GL/AbstractTexture.h b/src/Magnum/GL/AbstractTexture.h index cfc37120c..bb9bd4b54 100644 --- a/src/Magnum/GL/AbstractTexture.h +++ b/src/Magnum/GL/AbstractTexture.h @@ -232,6 +232,7 @@ class MAGNUM_GL_EXPORT AbstractTexture: public AbstractObject { /** * @brief Bind textures to given range of texture units + * @m_since_latest * * Binds first texture in the list to @p firstTextureUnit, second to * `firstTextureUnit + 1` etc. If any texture is @cpp nullptr @ce, @@ -294,6 +295,7 @@ class MAGNUM_GL_EXPORT AbstractTexture: public AbstractObject { /** * @brief Bind textures to given range of texture units + * @m_since_latest * * Binds first level of given texture in the list to @p firstImageUnit, * second to `firstTextureUnit + 1` etc. 3D, cube map and array