wined3d: Use width while converting surfaces.
authorMarkus Amsler <markus.amsler@oribi.org>
Mon, 6 Nov 2006 18:45:10 +0000 (19:45 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 7 Nov 2006 14:06:16 +0000 (15:06 +0100)
commit5ec0ce5b38bd6cd16f3f62e8286c8dfae1568a3d
treeea06b0b8db3b87f9ea4f3f8bf19cc74f47cd8ee7
parent5864d18c965fd2e94af86c38808481434a8565d3
wined3d: Use width while converting surfaces.

This fixes also a heap corruption with 1x1 and 2x2 surfaces.
dlls/wined3d/surface.c