Explorar o código

fixed buffer attributes binding

bstouls %!s(int64=9) %!d(string=hai) anos
pai
achega
b400ef2728
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  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;
 			}