Alexandre Julliard : d3d9: Remove unnecessary DllMain implementation.

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


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

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

d3d9: Remove unnecessary DllMain implementation.

---

 dlls/d3d9/d3d9_main.c |   11 -----------
 1 file changed, 11 deletions(-)

diff --git a/dlls/d3d9/d3d9_main.c b/dlls/d3d9/d3d9_main.c
index 8796733..0afdc04 100644
--- a/dlls/d3d9/d3d9_main.c
+++ b/dlls/d3d9/d3d9_main.c
@@ -90,17 +90,6 @@ void* WINAPI Direct3DShaderValidatorCreate9(void)
     return NULL;
 }
 
-/*******************************************************************
- *       DllMain
- */
-BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, void *reserved)
-{
-    if (reason == DLL_PROCESS_ATTACH)
-        DisableThreadLibraryCalls(inst);
-
-    return TRUE;
-}
-
 /***********************************************************************
  *              D3DPERF_BeginEvent (D3D9.@)
  */




More information about the wine-cvs mailing list