wined3d: Don't use surface_from_resource() to retrieve volumes.
authorHenri Verbeet <hverbeet@codeweavers.com>
Wed, 16 Mar 2011 17:58:04 +0000 (18:58 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 17 Mar 2011 09:42:09 +0000 (10:42 +0100)
commitb17d64923e4a1ecb60970319c4ad6bbb4f32a8c4
treec1eaba57ac9c9bbedf15bd9fe36288da150798c9
parent09b4ed2e75d7f777be0052b3a6bad24069f65e4a
wined3d: Don't use surface_from_resource() to retrieve volumes.

This happened to work because the field offsets are the same.
dlls/wined3d/device.c