浏览代码

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;
 			}