d3d8: Remove no longer used imports.
This commit is contained in:
parent
0ffe5a34c6
commit
9e0426538a
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue