Skip to content

Commit 3005e14

Browse files
committed
Mark DrawNode::clear as virtual function
1 parent 5fbf2d7 commit 3005e14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/2d/DrawNode.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ class AX_DLL DrawNode : public Node
521521
float thickness = 1.0f);
522522

523523
/** Clear the geometry in the node's buffer. */
524-
void clear();
524+
virtual void clear();
525525
/** Get the color mixed mode.
526526
* @lua NA
527527
*/

0 commit comments

Comments
 (0)