wined3d: Only set D3D caps when GL was loaded successfully.
1 file changed