Browse Source

Merge pull request #17895 from Tradias/dev

WebGLState: Fix EXT_blend_minmax setting.
Mr.doob 5 năm trước cách đây
mục cha
commit
d74d83bbe6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/renderers/webgl/WebGLState.js

+ 1 - 1
src/renderers/webgl/WebGLState.js

@@ -518,7 +518,7 @@ function WebGLState( gl, extensions, capabilities ) {
 		if ( extension !== null ) {
 
 			equationToGL[ MinEquation ] = extension.MIN_EXT;
-			equationToGL[ MaxEquation ] = extension.MIN_EXT;
+			equationToGL[ MaxEquation ] = extension.MAX_EXT;
 
 		}