wined3d: Don't use rtInternal for surfaces that are on a swapchain.
authorHenri Verbeet <hverbeet@codeweavers.com>
Wed, 25 Mar 2009 09:12:27 +0000 (10:12 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 25 Mar 2009 10:12:49 +0000 (11:12 +0100)
commit4469fbd43d959cfa306c32c87339c03355135664
tree49f38ee0aaf6bef900be428fbf727df8ef17277b
parent899df56ebeb431d24cadf79719f43edf74345558
wined3d: Don't use rtInternal for surfaces that are on a swapchain.

These surfaces won't be attached to an FBO anyway, so avoid the cost of a
potential format conversion when blitting from a non-RT surface. This is
mostly an issue for ddraw applications with 16 bit render targets.
dlls/wined3d/surface.c