Issue #3897: Add missed constructors

This commit is contained in:
pandamicro 2014-03-24 17:44:01 +08:00
parent cdb15dfe7c
commit bdfcc6c8cc
2 changed files with 4 additions and 3 deletions

View File

@ -41,7 +41,7 @@ enum {
class CC_DLL Component : public Ref
{
protected:
CC_CONSTRUCTOR_ACCESS:
/**
* @js ctor
*/

View File

@ -93,12 +93,13 @@ public:
// Overrides
virtual void draw(Renderer *renderer, const kmMat4 &transform, bool transformUpdated) override;
protected:
CC_CONSTRUCTOR_ACCESS:
DrawNode();
virtual ~DrawNode();
virtual bool init();
protected:
void ensureCapacity(int count);
GLuint _vao;