소스 검색

fix bitwiseAnd for glsl 1.00

Alexander Rose 1 년 전
부모
커밋
5c57137890
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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) {