Add linting
This commit is contained in:
parent
76282a4cf7
commit
40a660b7cb
1 changed files with 232 additions and 329 deletions
|
|
@ -11,10 +11,7 @@ export class DefaultFrameBuffer extends FrameBuffer {
|
|||
public setSize() {
|
||||
super.setSize();
|
||||
|
||||
if (
|
||||
this.gl.canvas.width !== this.size.x ||
|
||||
this.gl.canvas.height !== this.size.y
|
||||
) {
|
||||
if (this.gl.canvas.width !== this.size.x || this.gl.canvas.height !== this.size.y) {
|
||||
this.gl.canvas.width = this.size.x;
|
||||
this.gl.canvas.height = this.size.y;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue