d3d9: Replace wined3d_surface_preload with wined3d_texture_preload.

Signed-off-by: Riccardo Bortolato <rikyz619@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Riccardo Bortolato 2015-10-19 19:07:29 +02:00 committed by Alexandre Julliard
parent 9d7cc07687
commit 8f03c4413b
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ static void WINAPI d3d9_surface_PreLoad(IDirect3DSurface9 *iface)
TRACE("iface %p.\n", iface);
wined3d_mutex_lock();
wined3d_surface_preload(surface->wined3d_surface);
wined3d_texture_preload(surface->wined3d_texture);
wined3d_mutex_unlock();
}