From beecb8fb82e74e42149a17903cd0f2a387d21e20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 3 Mar 2021 17:29:58 +0100 Subject: [PATCH] Shaders: fix copypaste errors in Phong setter docs. --- doc/changelog.dox | 1 + src/Magnum/Shaders/Phong.h | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/changelog.dox b/doc/changelog.dox index 9de2513ae..9d4adc44c 100644 --- a/doc/changelog.dox +++ b/doc/changelog.dox @@ -550,6 +550,7 @@ See also: - Added a note about MinGW GCC and Clang ABI incompatibility to @ref platforms-windows "Windows platform docs" (see [mosra/magnum#227](https://github.com/mosra/magnum/issues/227) and [mosra/magnum#439](https://github.com/mosra/magnum/issues/439)) +- Various documentation fixes (see [mosra/magnum#492](https://github.com/mosra/magnum/issues/492)) @section changelog-2020-06 2020.06 diff --git a/src/Magnum/Shaders/Phong.h b/src/Magnum/Shaders/Phong.h index 93eabeb2e..b59537083 100644 --- a/src/Magnum/Shaders/Phong.h +++ b/src/Magnum/Shaders/Phong.h @@ -917,7 +917,7 @@ class MAGNUM_SHADERS_EXPORT Phong: public GL::AbstractShaderProgram { #endif /** - * @brief Set position for given light + * @brief Set color for given light * @return Reference to self (for method chaining) * @m_since_latest * @@ -967,7 +967,7 @@ class MAGNUM_SHADERS_EXPORT Phong: public GL::AbstractShaderProgram { Phong& setLightSpecularColors(std::initializer_list colors); /** - * @brief Set position for given light + * @brief Set specular color for given light * @return Reference to self (for method chaining) * @m_since_latest *