mirror of
https://github.com/reactos/wine.git
synced 2025-02-27 16:26:08 +00:00
wined3d: Use surface_load_location() instead of surface_internal_preload() in wined3d_device_update_surface().
This commit is contained in:
parent
cd9ff09d8e
commit
3a1d151561
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user