Commit afa9f6ea authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

opencl: Do not return an NTSTATUS from DllMain.

parent 41df83c5
......@@ -132,7 +132,7 @@ BOOL WINAPI DllMain( HINSTANCE instance, DWORD reason, void *reserved )
if (reason == DLL_PROCESS_ATTACH)
{
DisableThreadLibraryCalls( instance );
return __wine_init_unix_lib( instance, reason, NULL, &opencl_funcs );
return !__wine_init_unix_lib( instance, reason, NULL, &opencl_funcs );
}
return TRUE;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment