sebavan 6 năm trước cách đây
mục cha
commit
5d8b5c58dd
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/Engines/engine.ts

+ 2 - 2
src/Engines/engine.ts

@@ -1566,8 +1566,8 @@ export class Engine {
             const blendMinMaxExtension = this._gl.getExtension('EXT_blend_minmax');
             if (blendMinMaxExtension != null) {
                 this._caps.blendMinMax = true;
-                this._gl.MIN = blendMinMaxExtension.MAX_EXT;
-                this._gl.MAX = blendMinMaxExtension.MIN_EXT;
+                this._gl.MAX = blendMinMaxExtension.MAX_EXT;
+                this._gl.MIN = blendMinMaxExtension.MIN_EXT;
             } else {
                 this._caps.blendMinMax = false;
             }