d3d8: Remove no longer used imports.
Vitaliy Margolen
wine-patch at kievinfo.com
Tue Sep 26 08:25:11 CDT 2006
ChangeLog:
d3d8: Remove no longer used imports.
dlls/d3d8/d3d8_main.c | 18 +++---------------
1 files changed, 3 insertions(+), 15 deletions(-)
-------------- next part --------------
97104b10e58602a5e5a522402c88c2e8030a8471
diff --git a/dlls/d3d8/d3d8_main.c b/dlls/d3d8/d3d8_main.c
index 0f6bc12..9e3c48b 100644
--- a/dlls/d3d8/d3d8_main.c
+++ b/dlls/d3d8/d3d8_main.c
@@ -26,10 +26,6 @@ #include "wine/debug.h"
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
}
/* 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