Skip to content

Commit cf9ba67

Browse files
committed
Merge branch 'Iss2416_RefactorRenderer' of https://github.com/dingpinglv/cocos2d-html5 into Iss2416_RefactorRenderer
2 parents 6b6b14f + 587b243 commit cf9ba67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cocos2d/node-grid/CCNodeGrid.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ cc.NodeGrid = cc.Node.extend({
104104
if (cc._renderType === cc._RENDER_TYPE_WEBGL)
105105
return new cc.NodeGrid.WebGLRenderCmd(this);
106106
else
107-
return null; // cc.NodeGrid doesn't support Canvas mode.
107+
return new cc.Node.CanvasRenderCmd(this); // cc.NodeGrid doesn't support Canvas mode.
108108
}
109109
});
110110

0 commit comments

Comments
 (0)