d3d9: Remove no longer used imports.
Vitaliy Margolen
wine-patch at kievinfo.com
Tue Sep 26 08:25:07 CDT 2006
ChangeLog:
d3d9: Remove no longer used imports.
dlls/d3d9/d3d9_main.c | 18 +++---------------
1 files changed, 3 insertions(+), 15 deletions(-)
-------------- next part --------------
2b5ae239ef3e2da46b9810292d05d262bebae5b7
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-patches
mailing list