Explorar o código

WebGLRenderer: Exposed extensions. See #6260.

Mr.doob %!s(int64=11) %!d(string=hai) anos
pai
achega
b1c1c3f8f5
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/renderers/WebGLRenderer.js

+ 1 - 0
src/renderers/WebGLRenderer.js

@@ -283,6 +283,7 @@ THREE.WebGLRenderer = function ( parameters ) {
 	setDefaultGLState();
 	setDefaultGLState();
 
 
 	this.context = _gl;
 	this.context = _gl;
+	this.extensions = extensions;
 	this.state = state;
 	this.state = state;
 
 
 	// GPU capabilities
 	// GPU capabilities

粤ICP备19079148号