From 81e4209482e4799eb71f1ff73cab3330484fc31b Mon Sep 17 00:00:00 2001 From: Laurent Gomila Date: Sat, 28 Jul 2012 20:45:00 +0200 Subject: [PATCH] Minor correction in API documentation --- include/SFML/Graphics/Image.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/SFML/Graphics/Image.hpp b/include/SFML/Graphics/Image.hpp index 3853f2bcc..d83a3be06 100644 --- a/include/SFML/Graphics/Image.hpp +++ b/include/SFML/Graphics/Image.hpp @@ -230,7 +230,7 @@ public : /// /// The returned value points to an array of RGBA pixels made of /// 8 bits integers components. The size of the array is - /// GetWidth() * GetHeight() * 4. + /// width * height * 4 (getSize().x * getSize().y * 4). /// Warning: the returned pointer may become invalid if you /// modify the image, so you should never store it for too long. /// If the image is empty, a null pointer is returned.