@@ -18,7 +18,7 @@ function WebGLBufferRenderer( gl, extensions, info, capabilities ) {
gl.drawArrays( mode, start, count );
- info.update( count, mode );
+ info.update( count, mode, 1 );
}
@@ -27,7 +27,7 @@ function WebGLIndexedBufferRenderer( gl, extensions, info, capabilities ) {
gl.drawElements( mode, count, type, start * bytesPerElement );
@@ -19,8 +19,6 @@ function WebGLInfo( gl ) {
function update( count, mode, instanceCount ) {
- instanceCount = instanceCount || 1;
-
render.calls ++;
switch ( mode ) {