Alexander Dorofeyev : wined3d: Move PreLoad to avoid calling it with gl lock held.