mirror of https://github.com/axmolengine/axmol.git
Initialzies member variables for QualCommand class.
This commit is contained in:
parent
7b4bec1395
commit
1fdcaaa2c6
|
@ -36,11 +36,15 @@ static void convertIntToByteArray(int value, int* output)
|
|||
}
|
||||
|
||||
QuadCommand::QuadCommand()
|
||||
:_textureID(0)
|
||||
,_blendType(BlendFunc::DISABLE)
|
||||
,_quadsCount(0)
|
||||
:_materialID(0)
|
||||
,_textureID(0)
|
||||
,_lastTextureID(0)
|
||||
,_shader(nullptr)
|
||||
,_lastShader(nullptr)
|
||||
,_blendType(BlendFunc::DISABLE)
|
||||
,_lastBlendType(BlendFunc::DISABLE)
|
||||
,_quads(nullptr)
|
||||
,_quadsCount(0)
|
||||
{
|
||||
_type = RenderCommand::Type::QUAD_COMMAND;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue