Merge pull request #12091 from joshuastray/properties

[ci skip]fix material test
This commit is contained in:
子龙山人 2015-05-29 14:22:36 +08:00
commit b39006432f
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ var Material_2DEffects = MaterialSystemTestDemo.extend({
ctor:function(){ ctor:function(){
this._super(); this._super();
var properties = cc.Properties.createWithoutAutorelease("Materials/2d_effects.material#sample"); var properties = cc.Properties.createNonRefCounted("Materials/2d_effects.material#sample");
var mat1 = cc.Material.createWithProperties(properties); var mat1 = cc.Material.createWithProperties(properties);