wined3d: Use the source surface's texture for writing the backup.
commit424d34f84f4b2d178ef42a51a99c573235fa231e
authorStefan Dösinger <stefan@codeweavers.com>
Thu, 1 Mar 2007 00:42:50 +0000 (1 01:42 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 1 Mar 2007 10:39:52 +0000 (1 11:39 +0100)
tree21f7d3fb13bdce33be667838eb67c2ddc46016b2
parent6ac8d88d5cef451fc4f26a4767a088a5af0f6594
wined3d: Use the source surface's texture for writing the backup.

The hwstretch blit code creates a new texture each time it is called
to back up the back buffer and releases it afterwards. It is more
efficient to keep the texture and release it with the surface.
dlls/wined3d/surface.c