| 120 | } |
| 121 | |
| 122 | bool DrawNode::init() |
| 123 | { |
| 124 | _blendFunc = BlendFunc::ALPHA_PREMULTIPLIED; |
| 125 | updateShader(); |
| 126 | |
| 127 | _trianglesDirty = true; |
| 128 | _pointsDirty = true; |
| 129 | _linesDirty = true; |
| 130 | |
| 131 | return true; |
| 132 | } |
| 133 | |
| 134 | void DrawNode::updateShader() |
| 135 | { |