Henri Verbeet : wined3d: Use the resource access flags in buffer_init().