Fixed RenderWindow being automatically deactivated sometimes

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1285 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
LaurentGom 2009-11-26 07:33:03 +00:00
parent 8bc4460d15
commit 9f063921c9

View File

@ -77,7 +77,8 @@ RenderWindow::~RenderWindow()
////////////////////////////////////////////////////////////
bool RenderWindow::Activate(bool active)
{
return SetActive(active);
// We only handle activation, for performances and consistency reasons
return active ? SetActive(active) : true;
}