1 Jul
2021
1 Jul
'21
5:07 p.m.
On Thu, 1 Jul 2021 at 00:44, Zebediah Figura <z.figura12(a)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.