lumoslabs/cocos2d-x — pull request #6 by palange (2014-05-05 17:51:27+00:00)
Title: Introducing sub-classable Director singleton.

Two changes made to allow the override of
CCDirector::purgeDirector()

* Introduce the constructDisplayLinkDirector() which can be implemented
in a client application to construct a child of the display link director.

* The protected method purgeDirector is made virtual.