diff --git a/doc/changelog.dox b/doc/changelog.dox index 325508549..13545fcf8 100644 --- a/doc/changelog.dox +++ b/doc/changelog.dox @@ -1612,6 +1612,9 @@ See also: @cpp Trade::AbstractMaterialData::AbstractMaterialData(MaterialType, Flags, MaterialAlphaMode, Float, const void*) @ce and @cpp Trade::PhongMaterialData::PhongMaterialData(Flags, MaterialAlphaMode, Float, Float, const void*) @ce constructors or directly the new @ref Trade::MaterialData class +- Removed APIs deprecated in 2019.01, in particular: + - @cpp TextureTools::distanceField() @ce, use the + @ref TextureTools::DistanceFieldGL class instead. - Removed APIs deprecated in 2019.10, in particular: - @cpp Math::Color3::Hsv @ce and @cpp Math::Color4::Hsv @ce @ref std::tuple typedefs and @ref Math::Color3::fromHsv() / diff --git a/src/Magnum/TextureTools/DistanceField.h b/src/Magnum/TextureTools/DistanceField.h index e145bd77f..0c273f49a 100644 --- a/src/Magnum/TextureTools/DistanceField.h +++ b/src/Magnum/TextureTools/DistanceField.h @@ -187,22 +187,6 @@ class MAGNUM_TEXTURETOOLS_EXPORT DistanceField { Containers::Pointer _state; }; -#ifdef MAGNUM_BUILD_DEPRECATED -/** -@brief Create a signed distance field -@m_deprecated_since{2019,01} Deprecated due to inefficiency of its - statelessness when doing batch processing. Use the @ref DistanceField class - instead. -*/ -inline CORRADE_DEPRECATED("use the DistanceField class instead") void distanceField(GL::Texture2D& input, GL::Texture2D& output, const Range2Di& rectangle, Int radius, const Vector2i& imageSize - #ifndef MAGNUM_TARGET_GLES - = Vector2i{} - #endif -) { - DistanceField{UnsignedInt(radius)}(input, output, rectangle, imageSize); -} -#endif - }} #else #error this header is available only in the OpenGL build