Henri Verbeet : wined3d: Just return the texture from wined3d_device_get_texture().