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