mirror of https://github.com/axmolengine/axmol.git
Merge pull request #12091 from joshuastray/properties
[ci skip]fix material test
This commit is contained in:
commit
b39006432f
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue