wined3d: Move PBO handling mostly out of surface_upload_data().
commit980c50a0875bb14016a7c8c6a5ba6ce1ec05bcbd
authorHenri Verbeet <hverbeet@codeweavers.com>
Thu, 9 Jun 2011 18:40:49 +0000 (9 20:40 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 10 Jun 2011 08:44:39 +0000 (10 10:44 +0200)
tree6e9a86c681d4d9009f66bcbc21f02d36bc1bffed
parenta1b8f254b109ae92cbedc8acd39c395130369acc
wined3d: Move PBO handling mostly out of surface_upload_data().

Currently we essentially get half of the address from the caller and half from
the destination surface. Since we'd like to use surface_upload_data() for
wined3d_device_update_surface() as well, we should get all of it from the
caller.
dlls/wined3d/surface.c
dlls/wined3d/wined3d_private.h