[PATCH v3 6/6] wined3d: No longer queue WINED3D_CS_QUEUE_MAP operations through wined3d_device_context_ops.
Zebediah Figura (she/her)
zfigura at codeweavers.com
Thu Jul 1 12:11:23 CDT 2021
On 7/1/21 12:07 PM, Henri Verbeet wrote:
> 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.
Indeed. I'll send a follow-up to rectify that.
More information about the wine-devel