mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 15:12:18 +00:00
The Mesh Game Object Factory entry had incorrect arguments passed to Mesh constructor.
This commit is contained in:
parent
5b4b5de075
commit
d745b70330
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ if (WEBGL_RENDERER)
|
|||
{
|
||||
GameObjectFactory.register('mesh', function (x, y, vertices, uv, colors, alphas, texture, frame)
|
||||
{
|
||||
return this.displayList.add(new Mesh(this.scene, x, y, vertices, uv, key, frame));
|
||||
return this.displayList.add(new Mesh(this.scene, x, y, vertices, uv, colors, alphas, texture, frame));
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue