[PATCH v3 6/6] wined3d: No longer queue WINED3D_CS_QUEUE_MAP operations through wined3d_device_context_ops.

Henri Verbeet hverbeet at gmail.com
Thu Jul 1 12:07:26 CDT 2021


On Thu, 1 Jul 2021 at 00:44, Zebediah Figura <z.figura12 at gmail.com> wrote:
> @@ -6047,9 +6040,9 @@ static inline void wined3d_from_cs(const struct wined3d_cs *cs)
>          assert(cs->thread_id == GetCurrentThreadId());
>  }
>
> -static inline void wined3d_not_from_cs(struct wined3d_cs *cs)
> +static inline void wined3d_not_from_cs(const struct wined3d_device *device)
>  {
> -    assert(cs->thread_id != GetCurrentThreadId());
> +    assert(device->cs->thread_id != GetCurrentThreadId());
>  }
>
Note that this introduces an asymmetry with wined3d_from_cs() though.



More information about the wine-devel mailing list