diff --git a/cocos/ui/UIVideoPlayer.h b/cocos/ui/UIVideoPlayer.h index be7d9b985f..5a419a940e 100644 --- a/cocos/ui/UIVideoPlayer.h +++ b/cocos/ui/UIVideoPlayer.h @@ -84,6 +84,7 @@ namespace experimental{ VideoPlayer(); virtual ~VideoPlayer(); + protected: #if CC_VIDEOPLAYER_DEBUG_DRAW CustomCommand _customDebugDrawCommand; void VideoPlayer::drawDebugData();