Henri Verbeet : wined3d: Get resource info from the texture in context_generate_rt_mask_no_fbo().