[PATCH 4/4] wined3d: Pass a wined3d_device_context to wined3d_device_get_primitive_type().