From 1851dcb10988d9c8e706d90b35e4ea32e0a6b94b Mon Sep 17 00:00:00 2001 From: Jan Haller Date: Thu, 3 Jul 2014 14:08:13 +0200 Subject: [PATCH] Clarified Window::setIcon() ownership semantics --- include/SFML/Window/Window.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/SFML/Window/Window.hpp b/include/SFML/Window/Window.hpp index fbff7f9a..4aa191fe 100644 --- a/include/SFML/Window/Window.hpp +++ b/include/SFML/Window/Window.hpp @@ -306,7 +306,9 @@ public : /// /// \param width Icon's width, in pixels /// \param height Icon's height, in pixels - /// \param pixels Pointer to the array of pixels in memory + /// \param pixels Pointer to the array of pixels in memory. The + /// pixels are copied, so you need not keep the + /// source alive after calling this function. /// /// \see setTitle ///