mirror of
https://github.com/photonstorm/phaser
synced 2025-02-25 20:07:08 +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)
|
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…
Add table
Reference in a new issue