Browse Source

fix bitwiseAnd for glsl 1.00

Alexander Rose 1 year ago
parent
commit
5c57137890
1 changed files with 1 additions and 1 deletions
  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) {