提交 a816aafe 编写于 作者: M Mr.doob

WebGLRenderer: Added note about workaround in copyFramebufferToTexture()

上级 77a7ffb8
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册