Henri Verbeet : wined3d: Use surface_load_location() instead of surface_internal_preload() in wined3d_device_update_surface().
Module: wine Branch: master Commit: 3a1d151561dc48243009d105a5f3adb6221515c4 URL: http://source.winehq.org/git/wine.git/?a=commit;h=3a1d151561dc48243009d105a5... Author: Henri Verbeet <hverbeet(a)codeweavers.com> Date: Thu Jun 16 22:38:24 2011 +0200 wined3d: Use surface_load_location() instead of surface_internal_preload() in wined3d_device_update_surface(). --- dlls/wined3d/device.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c index ed52831..67c38aa 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c @@ -4834,7 +4834,7 @@ HRESULT CDECL wined3d_device_update_surface(struct wined3d_device *device, LEAVE_GL(); /* Make sure the surface is loaded and up to date */ - surface_internal_preload(dst_surface, SRGB_RGB); + surface_load_location(dst_surface, SFLAG_INTEXTURE, NULL); surface_bind(dst_surface, gl_info, FALSE); data.buffer_object = 0;
participants (1)
-
Alexandre Julliard