wined3d: Add support for VBOs to the drawing code.