From 742dffa0de3162aa832b320dd66f04f57ced1055 Mon Sep 17 00:00:00 2001 From: Chris Thrasher Date: Sun, 12 May 2024 18:44:44 -0500 Subject: [PATCH] Remove reference to old API 0785093 changed the API to use a vector instead of two scalar values --- include/SFML/Graphics/Texture.hpp | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/include/SFML/Graphics/Texture.hpp b/include/SFML/Graphics/Texture.hpp index cdc143cb0..456a8c515 100644 --- a/include/SFML/Graphics/Texture.hpp +++ b/include/SFML/Graphics/Texture.hpp @@ -297,8 +297,9 @@ public: /// /// Although the source texture can be smaller than this texture, /// this function is usually used for updating the whole texture. - /// The other overload, which has (x, y) additional arguments, - /// is more convenient for updating a sub-area of this texture. + /// The other overload, which has an additional destination + /// argument, is more convenient for updating a sub-area of this + /// texture. /// /// No additional check is performed on the size of the passed /// texture. Passing a texture bigger than this texture @@ -333,8 +334,9 @@ public: /// /// Although the source image can be smaller than the texture, /// this function is usually used for updating the whole texture. - /// The other overload, which has (x, y) additional arguments, - /// is more convenient for updating a sub-area of the texture. + /// The other overload, which has an additional destination + /// argument, is more convenient for updating a sub-area of the + /// texture. /// /// No additional check is performed on the size of the image. /// Passing an image bigger than the texture will lead to an @@ -369,8 +371,9 @@ public: /// /// Although the source window can be smaller than the texture, /// this function is usually used for updating the whole texture. - /// The other overload, which has (x, y) additional arguments, - /// is more convenient for updating a sub-area of the texture. + /// The other overload, which has an additional destination + /// argument, is more convenient for updating a sub-area of the + /// texture. /// /// No additional check is performed on the size of the window. /// Passing a window bigger than the texture will lead to an