From b7c526efc20e61e9bebf1657f52e1ac7435628d8 Mon Sep 17 00:00:00 2001 From: Chris Thrasher Date: Thu, 2 May 2024 16:42:30 -0600 Subject: [PATCH] Fix API documentation bugs --- include/SFML/Graphics/RenderTarget.hpp | 6 +++--- include/SFML/Window/Context.hpp | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/include/SFML/Graphics/RenderTarget.hpp b/include/SFML/Graphics/RenderTarget.hpp index bad236a51..4f2fe1c0e 100644 --- a/include/SFML/Graphics/RenderTarget.hpp +++ b/include/SFML/Graphics/RenderTarget.hpp @@ -109,7 +109,7 @@ public: /// The specified value is truncated to the bit width of /// the current stencil buffer. /// - /// \param value Stencil value to clear to + /// \param stencilValue Stencil value to clear to /// //////////////////////////////////////////////////////////// void clearStencil(StencilValue stencilValue); @@ -120,8 +120,8 @@ public: /// The specified stencil value is truncated to the bit /// width of the current stencil buffer. /// - /// \param color Fill color to use to clear the render target - /// \param value Stencil value to clear to + /// \param color Fill color to use to clear the render target + /// \param stencilValue Stencil value to clear to /// //////////////////////////////////////////////////////////// void clear(const Color& color, StencilValue stencilValue); diff --git a/include/SFML/Window/Context.hpp b/include/SFML/Window/Context.hpp index 1457eab01..2f7af96cd 100644 --- a/include/SFML/Window/Context.hpp +++ b/include/SFML/Window/Context.hpp @@ -171,8 +171,7 @@ public: /// to bother with it. /// /// \param settings Creation parameters - /// \param width Back buffer width - /// \param height Back buffer height + /// \param size Back buffer size /// //////////////////////////////////////////////////////////// Context(const ContextSettings& settings, const Vector2u& size);