mirror of https://github.com/axmolengine/axmol.git
commit
de80caaec5
|
@ -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);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue