Skip to content

Commit 175af00

Browse files
committed
Stores the new resolution, should it change (unlikely, but ...)
1 parent e794042 commit 175af00

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/renderer/webgl/WebGLPipeline.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,8 @@ var WebGLPipeline = new Class({
305305
*/
306306
resize: function (width, height, resolution)
307307
{
308+
this.resolution = resolution;
309+
308310
this.width = width * resolution;
309311
this.height = height * resolution;
310312

0 commit comments

Comments
 (0)