Skip to content

Commit 28c3c71

Browse files
committed
Update CCProgressNode.h
added in two flags, one to signal vertexData destruction, the other to update progress before next visible draw
1 parent 2cd5c4d commit 28c3c71

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cocos2d/CCProgressNode.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ typedef NS_ENUM(NSUInteger, CCProgressNodeType) {
6666
CGPoint _midpoint;
6767
CGPoint _barChangeRate;
6868
BOOL _reverseDirection;
69+
70+
BOOL _dirtyVertexData;
71+
BOOL _needsUpdateProgress;
6972
}
7073

7174

0 commit comments

Comments
 (0)