Henri Verbeet <hverbeet at codeweavers.com> writes: > +BOOL context_init_current(void) > +{ > + return TlsSetValue(wined3d_context_tls_idx, NULL); > +} Note that this is not necessary, TLS slots are initialized to 0. -- Alexandre Julliard julliard at winehq.org