On 12 October 2015 at 17:23, Riccardo Bortolato rikyz619@gmail.com wrote:
- resource = wined3d_texture_get_resource(surface->wined3d_texture);
- if (!resource)
- {
ERR("No resource found.\n");
return NULL;
- }
wined3d_texture_get_resource() can't fail.