wined3d: Get rid of the render target / overlay check in wined3d_surface_flip().
commit8e4dac485de8439e229941876ecef19becf44658
authorHenri Verbeet <hverbeet@codeweavers.com>
Wed, 11 Sep 2013 06:47:48 +0000 (11 08:47 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 15 Nov 2013 13:12:01 +0000 (15 14:12 +0100)
tree74f91c82df36233ef707b95ba036e78bc6f99080
parent9d22a68c69780617e73d48ac647645247f8b07df
wined3d: Get rid of the render target / overlay check in wined3d_surface_flip().

The surface needs to be part of a swapchain to be flipped, but that doesn't
have much to do with WINED3DUSAGE_RENDERTARGET. We can just remove the check
here, because ddraw_surface7_Flip() already has the correct check.

(cherry picked from commit aea8d5c11ee42642a77911a76f119e2cd9488f1a)
dlls/wined3d/surface.c