wined3d: Get rid of a NULL check for surface_upload_data().
This commit is contained in:
parent
9f3e6a20e8
commit
a1b8f254b1
|
@ -6165,8 +6165,7 @@ HRESULT surface_load_location(struct wined3d_surface *surface, DWORD flag, const
|
|||
mem = surface->resource.allocatedMemory;
|
||||
}
|
||||
|
||||
if (mem || (surface->flags & SFLAG_PBO))
|
||||
surface_upload_data(surface, gl_info, &format, srgb, mem);
|
||||
surface_upload_data(surface, gl_info, &format, srgb, mem);
|
||||
|
||||
if (context) context_release(context);
|
||||
|
||||
|
|
Loading…
Reference in New Issue