flush all webgl commands before the renderer is completely destroyed. This ensures that all commands are processed in a timely fashion (especially in browsers with multi-process or multi-threaded graphics architectures like chrome). Noteably, this ensures that gl textures are actually deleted around the same time that the renderer is destroyed.
1 parent 5debf8c commit 46562415ef4cae3d948f0a23b03b6da738fcd0a2
@Robin Vierich Robin Vierich authored on 12 Feb 2016
Showing 1 changed file
View
src/core/renderers/webgl/WebGLRenderer.js