Explorar o código

WebGLRenderer: Added note about workaround in copyFramebufferToTexture()

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

+ 1 - 0
src/renderers/WebGLRenderer.js

@@ -2040,6 +2040,7 @@ function WebGLRenderer( parameters = {} ) {
 		if ( capabilities.isWebGL2 ) {
 
 			// Workaround for https://bugs.chromium.org/p/chromium/issues/detail?id=1120100
+			// Not needed in Chrome 93+
 
 			if ( glFormat === _gl.RGB ) glFormat = _gl.RGB8;
 			if ( glFormat === _gl.RGBA ) glFormat = _gl.RGBA8;