wined3d: Check if we can do the blit before messing with surface flags in IWineD3DSur...
authorHenri Verbeet <hverbeet@codeweavers.com>
Thu, 21 Oct 2010 10:40:44 +0000 (12:40 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 21 Oct 2010 14:15:25 +0000 (16:15 +0200)
commit574169174ec479317986176e635d4d3bf5afb7be
treef92a5c1a303fea03ef4747ae5b2dc9e0c79500d2
parentb0c8b4dd95f0328c9cf61a3d06c7fb80b3f5047a
wined3d: Check if we can do the blit before messing with surface flags in IWineD3DSurfaceImpl_BltOverride().

As an added benefit blit_supported() will now get the rectangles in the
correct coordinate system.
dlls/wined3d/surface.c