Explorar el Código

fix bitwiseAnd for glsl 1.00

Alexander Rose hace 1 año
padre
commit
5c57137890
Se han modificado 1 ficheros con 1 adiciones y 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) {