[PATCH 2/2] wined3d: Pass a wined3d_device pointer to wined3d_from_cs().

Giovanni Mascellani gmascellani at codeweavers.com
Wed Jul 7 09:10:43 CDT 2021


Il 06/07/21 18:43, Henri Verbeet ha scritto:
> C before C11 doesn't specify a whole lot about concurrency, so in
> that sense we're already in trouble simply for using threads; the C 
> standard isn't going to help us much here.

Yes. This, to me, would be alone a good reason to move to a more recent
standard. Given that we are not, I think it is sensible to have more
recent standards as a guide anyway, because it is what compiler writers
keep in mind. Then of course we cannot fully rely on the standard
anyway, because Wine is intrinsically tied to a specific set of binary
interfaces, it has to dynamically load code, etc. But I think there
shouldn't be the need of specific reasons to write code trying to
respect the standard as much as possible.

However, I think I made my point, and it doesn't seem useful to insist 
any more.


More information about the wine-devel mailing list