Alexandre Julliard : d3d8: Remove unnecessary DllMain implementation.

Alexandre Julliard julliard at winehq.org
Thu May 15 15:14:30 CDT 2014


Module: wine
Branch: master
Commit: 4df26c56d832e94d138009bc28bb87701f1822c2
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=4df26c56d832e94d138009bc28bb87701f1822c2

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu May 15 14:38:12 2014 +0200

d3d8: Remove unnecessary DllMain implementation.

---

 dlls/d3d8/d3d8_main.c |    9 ---------
 1 file changed, 9 deletions(-)

diff --git a/dlls/d3d8/d3d8_main.c b/dlls/d3d8/d3d8_main.c
index 2b6ada4..8ac704c 100644
--- a/dlls/d3d8/d3d8_main.c
+++ b/dlls/d3d8/d3d8_main.c
@@ -56,15 +56,6 @@ IDirect3D8 * WINAPI DECLSPEC_HOTPATCH Direct3DCreate8(UINT sdk_version)
     return &object->IDirect3D8_iface;
 }
 
-/* At process attach */
-BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, void *reserved)
-{
-    if (reason == DLL_PROCESS_ATTACH)
-        DisableThreadLibraryCalls(inst);
-
-    return TRUE;
-}
-
 /***********************************************************************
  *              ValidateVertexShader (D3D8.@)
  *




More information about the wine-cvs mailing list