mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
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:
parent
8bc4460d15
commit
9f063921c9
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user