From 5a4e8d58af1794978e3ab37097280d360f839447 Mon Sep 17 00:00:00 2001 From: Laurent Gomila Date: Wed, 21 Dec 2011 22:31:42 +0100 Subject: [PATCH] Minor modifications --- include/SFML/Graphics/Transform.hpp | 2 +- src/SFML/Graphics/GLCheck.hpp | 2 +- src/SFML/Graphics/Transform.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/SFML/Graphics/Transform.hpp b/include/SFML/Graphics/Transform.hpp index 17459989..026fe43e 100644 --- a/include/SFML/Graphics/Transform.hpp +++ b/include/SFML/Graphics/Transform.hpp @@ -358,7 +358,7 @@ private: //////////////////////////////////////////////////////////// // Member data //////////////////////////////////////////////////////////// - float myMatrix[16]; /// 4x4 matrix defining the transformation + float myMatrix[16]; ///< 4x4 matrix defining the transformation }; //////////////////////////////////////////////////////////// diff --git a/src/SFML/Graphics/GLCheck.hpp b/src/SFML/Graphics/GLCheck.hpp index 3be57e1a..560210c6 100644 --- a/src/SFML/Graphics/GLCheck.hpp +++ b/src/SFML/Graphics/GLCheck.hpp @@ -44,7 +44,7 @@ namespace priv #ifdef SFML_DEBUG // In debug mode, perform a test on every OpenGL call -#define GLCheck(call) ((call), sf::priv::GLCheckError(__FILE__, __LINE__)) + #define GLCheck(call) ((call), sf::priv::GLCheckError(__FILE__, __LINE__)) #else diff --git a/src/SFML/Graphics/Transform.cpp b/src/SFML/Graphics/Transform.cpp index 181e1bbd..3d459ca6 100644 --- a/src/SFML/Graphics/Transform.cpp +++ b/src/SFML/Graphics/Transform.cpp @@ -89,7 +89,7 @@ Transform Transform::GetInverse() const } else { - return Transform(); + return Identity; } }