Commit 1ac7c96
authored
Don't set gl.clearColor when no clearBeforeRender
Unless I'm missing something, the `gl.clearColor` command is unnecessary when you have `this.config.clearBeforeRender` set to `false`. This simply moves that into the config check to eliminate an unused command in those situations.1 parent c944049 commit 1ac7c96
1 file changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1636 | 1636 | | |
1637 | 1637 | | |
1638 | 1638 | | |
1639 | | - | |
1640 | | - | |
1641 | | - | |
1642 | 1639 | | |
1643 | 1640 | | |
| 1641 | + | |
1644 | 1642 | | |
1645 | 1643 | | |
1646 | 1644 | | |
| |||
0 commit comments