mirror of https://github.com/axmolengine/axmol.git
add trianglesCommand head file to cocos2d
remove invoking of base class constructor
This commit is contained in:
parent
05d0e04073
commit
6f03e97a6d
|
@ -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"
|
||||
|
|
|
@ -33,8 +33,7 @@
|
|||
NS_CC_BEGIN
|
||||
|
||||
QuadCommand::QuadCommand()
|
||||
:TrianglesCommand()
|
||||
,_quads(nullptr)
|
||||
:_quads(nullptr)
|
||||
,_quadsCount(0)
|
||||
{
|
||||
_type = RenderCommand::Type::QUAD_COMMAND;
|
||||
|
|
Loading…
Reference in New Issue