Explorar o código

fix bitwiseAnd for glsl 1.00

Alexander Rose hai 1 ano
pai
achega
5c57137890
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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) {