Vitaliy Margolen : d3d9: Remove no longer used imports.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Sep 26 15:04:45 CDT 2006


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

Author: Vitaliy Margolen <wine-patch at kievinfo.com>
Date:   Tue Sep 26 07:25:07 2006 -0600

d3d9: Remove no longer used imports.

---

 dlls/d3d9/d3d9_main.c |   18 +++---------------
 1 files changed, 3 insertions(+), 15 deletions(-)

diff --git a/dlls/d3d9/d3d9_main.c b/dlls/d3d9/d3d9_main.c
index b9bff60..a81fb01 100644
--- a/dlls/d3d9/d3d9_main.c
+++ b/dlls/d3d9/d3d9_main.c
@@ -29,10 +29,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(d3d9);
 
 static int D3DPERF_event_level = 0;
 
-void (*wine_tsx11_lock_ptr)(void) = NULL;
-void (*wine_tsx11_unlock_ptr)(void) = NULL;
-
-
 HRESULT WINAPI D3D9GetSWInfo(void) {
     FIXME("(void): stub\n");
     return 0;
@@ -55,20 +51,12 @@ IDirect3D9* WINAPI Direct3DCreate9(UINT 
 }
 
 /* At process attach */
-BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv) {
+BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
+{
     TRACE("fdwReason=%ld\n", fdwReason);
-    if (fdwReason == DLL_PROCESS_ATTACH) {
-        HMODULE mod;
-
+    if (fdwReason == DLL_PROCESS_ATTACH)
         DisableThreadLibraryCalls(hInstDLL);
 
-        mod = GetModuleHandleA( "winex11.drv" );
-        if (mod)
-        {
-            wine_tsx11_lock_ptr   = (void*) GetProcAddress(mod, "wine_tsx11_lock");
-            wine_tsx11_unlock_ptr = (void*) GetProcAddress(mod, "wine_tsx11_unlock");
-        }
-    }
     return TRUE;
 }
 




More information about the wine-cvs mailing list