3 * This library is free software; you can redistribute it and/or
4 * modify it under the terms of the GNU Lesser General Public
5 * License as published by the Free Software Foundation; either
6 * version 2.1 of the License, or (at your option) any later version.
8 * This library is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * Lesser General Public License for more details.
13 * You should have received a copy of the GNU Lesser General Public
14 * License along with this library; if not, write to the Free Software
15 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 #include "wine/debug.h"
26 #include "d3d8_private.h"
28 WINE_DEFAULT_DEBUG_CHANNEL(d3d);
30 void (*wine_tsx11_lock_ptr)(void) = NULL;
31 void (*wine_tsx11_unlock_ptr)(void) = NULL;
33 HRESULT WINAPI D3D8GetSWInfo(void)
35 FIXME("(void): stub\n");
39 HRESULT WINAPI DebugSetMute(void)
41 FIXME("(void): stub\n");
45 IDirect3D8* WINAPI Direct3DCreate8(UINT SDKVersion)
48 IDirect3D8Impl *object = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(IDirect3D8Impl));
50 object->lpVtbl = &Direct3D8_Vtbl;
53 TRACE("SDKVersion = %x, Created Direct3D object at %p\n", SDKVersion, object);
55 return (IDirect3D8 *)object;
58 /* At process attach */
59 BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
61 TRACE("fdwReason=%ld\n", fdwReason);
62 if (fdwReason == DLL_PROCESS_ATTACH)
64 HMODULE mod = GetModuleHandleA( "x11drv.dll" );
67 wine_tsx11_lock_ptr = (void *)GetProcAddress( mod, "wine_tsx11_lock" );
68 wine_tsx11_unlock_ptr = (void *)GetProcAddress( mod, "wine_tsx11_unlock" );