wined3d: Fix client gl unit selection.