Browse Source

fix bitwiseAnd for glsl 1.00

Alexander Rose 1 năm trước cách đây
mục cha
commit
5c57137890
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/mol-gl/shader/chunks/common-clip.glsl.ts

+ 1 - 1
src/mol-gl/shader/chunks/common-clip.glsl.ts

@@ -65,7 +65,7 @@ export const common_clip = `
 
     #if __VERSION__ == 100
         // 8-bit
-        int bitwiseAnd(const in int a, const in int b) {
+        int bitwiseAnd(in int a, in int b) {
             int d = 128;
             int result = 0;
             for (int i = 0; i < 8; ++i) {