add trianglesCommand head file to cocos2d

remove invoking of base class constructor
This commit is contained in:
Huabing.Xu 2014-09-04 11:20:43 +08:00
parent 05d0e04073
commit 6f03e97a6d
2 changed files with 2 additions and 2 deletions

View File

@ -158,6 +158,7 @@ THE SOFTWARE.
#include "renderer/CCVertexIndexData.h"
#include "renderer/CCPrimitive.h"
#include "renderer/CCPrimitiveCommand.h"
#include "renderer/CCTrianglesCommand.h"
// physics
#include "physics/CCPhysicsBody.h"

View File

@ -33,8 +33,7 @@
NS_CC_BEGIN
QuadCommand::QuadCommand()
:TrianglesCommand()
,_quads(nullptr)
:_quads(nullptr)
,_quadsCount(0)
{
_type = RenderCommand::Type::QUAD_COMMAND;