소스 검색

fixed buffer attributes binding

bstouls 9 년 전
부모
커밋
b400ef2728
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      h3d/impl/Stage3dDriver.hx

+ 0 - 1
h3d/impl/Stage3dDriver.hx

@@ -627,7 +627,6 @@ class Stage3dDriver extends Driver {
 					ctx.setVertexBufferAt(pos++, m.vbuf, offset, FORMAT[size]);
 					offset += size == 0 ? 1 : size;
 					if( offset > m.b.stride ) throw "Buffer is missing '"+s+"' data, set it to RAW format ?" #if debug + @:privateAccess v.allocPos #end;
-					bits >>= 3;
 				}
 				bits >>= 3;
 			}