[PATCH 1/6] wined3d: Keep track of a thread's wined3d context.

Alexandre Julliard julliard at winehq.org
Wed Jul 22 06:54:27 CDT 2009


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



More information about the wine-devel mailing list