[PATCH v2 1/5] wined3d: Factor out init_default_texture_state().