Zebediah Figura : wined3d: Use wined3d_array_reserve() to pre-allocate the buffer dirty ranges array.