From e72a0459c825621beb0298fd76c12b1eeaea8301 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 3 Dec 2019 22:42:19 +0100 Subject: [PATCH] doc: updated changelog, mark new APIs as new. --- doc/changelog.dox | 8 ++++++++ src/Magnum/GL/AbstractTexture.h | 2 ++ 2 files changed, 10 insertions(+) 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