try bufferData instead of bufferSubData