Skip to content

Commit

Permalink
Merge branch 'master' of github.com:liabru/matter-js
Browse files Browse the repository at this point in the history
  • Loading branch information
liabru committed Jun 13, 2014
2 parents a12fbcb + e95e328 commit 4067108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/render/RenderPixi.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ var RenderPixi = {};
var render = Common.extend(defaults, options);

// init pixi
render.context = new PIXI.WebGLRenderer(800, 600, render.canvas, false, true);
render.context = new PIXI.WebGLRenderer(render.options.width, render.options.height, render.canvas, false, true);
render.canvas = render.context.view;
render.stage = new PIXI.Stage();

Expand Down

0 comments on commit 4067108

Please sign in to comment.