Преглед изворни кода

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