wined3d: Return a failure code if creating the staging texture failed in surface_cpu_...
commit82044bc9192c26aba8399785be0da38e2ebf7cc9
authorHenri Verbeet <hverbeet@codeweavers.com>
Thu, 21 Apr 2016 15:05:06 +0000 (21 17:05 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 22 Apr 2016 03:22:37 +0000 (22 12:22 +0900)
tree25041cb57ee7483952e2947a851e43988018aa23
parentaaca15f17278d94287ef5c0af9c7e9e25e5f05f9
wined3d: Return a failure code if creating the staging texture failed in surface_cpu_blt().

Note that we return immediately. The textures aren't mapped yet here, so we
shouldn't try to unmap them.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/wined3d/surface.c