[PATCH v2 3/4] wined3d: Check for WINED3DUSAGE_LEGACY_CUBEMAP instead of checking the GL texture target.