On 28 November 2013 10:48, Stefan Dösinger stefan@codeweavers.com wrote:
/* Read the framebuffer back into the surface */ -static void read_from_framebuffer(struct wined3d_surface *surface, void *dest, UINT pitch) +static void read_from_framebuffer(struct wined3d_surface *surface,
const struct wined3d_bo_address *data, UINT pitch)
It seems a bit silly to pass these as parameters when the only caller gets them from the surface.