From 369f450502409835621da11db30b1c4df1dd2a01 Mon Sep 17 00:00:00 2001 From: Laurent Gomila Date: Sat, 21 Jan 2012 11:53:31 +0100 Subject: [PATCH] Minor fixes in documentation --- include/SFML/Graphics/Shader.hpp | 2 +- include/SFML/System/InputStream.hpp | 2 +- include/SFML/System/ThreadLocalPtr.hpp | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/SFML/Graphics/Shader.hpp b/include/SFML/Graphics/Shader.hpp index 3080c5353..fcc108375 100644 --- a/include/SFML/Graphics/Shader.hpp +++ b/include/SFML/Graphics/Shader.hpp @@ -322,7 +322,7 @@ public : void SetParameter(const std::string& name, const Vector2f& vector); //////////////////////////////////////////////////////////// - /// \brief Change a 2-components vector parameter of the shader + /// \brief Change a 3-components vector parameter of the shader /// /// \a name is the name of the variable to change in the shader. /// The corresponding parameter in the shader must be a 3x1 vector diff --git a/include/SFML/System/InputStream.hpp b/include/SFML/System/InputStream.hpp index 623c6337d..df4b62ee0 100644 --- a/include/SFML/System/InputStream.hpp +++ b/include/SFML/System/InputStream.hpp @@ -63,7 +63,7 @@ public : /// /// \param position The position to seek to, from the beginning /// - /// \return The position actually seeked to, or -1 on error + /// \return The position actually sought to, or -1 on error /// //////////////////////////////////////////////////////////// virtual Int64 Seek(Int64 position) = 0; diff --git a/include/SFML/System/ThreadLocalPtr.hpp b/include/SFML/System/ThreadLocalPtr.hpp index 7c7813f7c..68b0dd521 100644 --- a/include/SFML/System/ThreadLocalPtr.hpp +++ b/include/SFML/System/ThreadLocalPtr.hpp @@ -128,13 +128,13 @@ public : /// MyClass object2; /// sf::ThreadLocalPtr objectPtr; /// -/// void Thread1(void*) +/// void Thread1() /// { /// objectPtr = &object1; // doesn't impact Thread2 /// ... /// } /// -/// void Thread1(void*) +/// void Thread2() /// { /// objectPtr = &object2; // doesn't impact Thread1 /// ...