Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WebGLRenderer: remove redundant code (#28186)
The null check seems to have been redundant. This code should behave the same as the previous code and return `null` when `context === null` or return `context` otherwise. Maybe there is a good reason it was like it was (ability to put a debugger on line 227?) in which case feel free to decline this PR - I just came across the code when I was searching for something else and thought I'd clean it up in case it was unnecessarily there based on a historical change...
- Loading branch information