Henri Verbeet <hverbeet(a)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(a)winehq.org