Commit 8f03c441 authored by Riccardo Bortolato's avatar Riccardo Bortolato Committed by Alexandre Julliard

d3d9: Replace wined3d_surface_preload with wined3d_texture_preload.

parent 9d7cc076
......@@ -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();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment