[PATCH 1/5] wined3d: Pass a struct wined3d_adapter pointer to wined3d_get_device_caps().