From 9e0426538a6693d1aaa9d7708f5e0c47ac475178 Mon Sep 17 00:00:00 2001 From: Vitaliy Margolen Date: Tue, 26 Sep 2006 07:25:11 -0600 Subject: [PATCH] d3d8: Remove no longer used imports. --- dlls/d3d8/d3d8_main.c | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/dlls/d3d8/d3d8_main.c b/dlls/d3d8/d3d8_main.c index 0f6bc122030..9e3c48bd0bd 100644 --- a/dlls/d3d8/d3d8_main.c +++ b/dlls/d3d8/d3d8_main.c @@ -26,10 +26,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(d3d8); -void (*wine_tsx11_lock_ptr)(void) = NULL; -void (*wine_tsx11_unlock_ptr)(void) = NULL; - - HRESULT WINAPI D3D8GetSWInfo(void) { FIXME("(void): stub\n"); return 0; @@ -52,20 +48,12 @@ IDirect3D8* WINAPI Direct3DCreate8(UINT SDKVersion) { } /* 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; }