Merge pull request #289 from liswei/master

fixed #521
This commit is contained in:
Walzer 2011-06-02 19:57:24 -07:00
commit de80caaec5
1 changed files with 1 additions and 0 deletions

View File

@ -276,6 +276,7 @@ class PageTurn3DDemo : public CCPageTurn3D
public: public:
static CCActionInterval* actionWithDuration(ccTime t) static CCActionInterval* actionWithDuration(ccTime t)
{ {
CCDirector::sharedDirector()->setDepthTest(true);
return CCPageTurn3D::actionWithSize(ccg(15,10), t); return CCPageTurn3D::actionWithSize(ccg(15,10), t);
} }
}; };