Alexandre Julliard : d3d10_1: Remove unnecessary DllMain implementation.
Alexandre Julliard
julliard at winehq.org
Thu May 15 15:14:30 CDT 2014
Module: wine
Branch: master
Commit: c5b19d4ad0e9000f5479c174c8e63e3fd7408cf4
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c5b19d4ad0e9000f5479c174c8e63e3fd7408cf4
Author: Alexandre Julliard <julliard at winehq.org>
Date: Thu May 15 14:38:28 2014 +0200
d3d10_1: Remove unnecessary DllMain implementation.
---
dlls/d3d10_1/d3d10_1_main.c | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/dlls/d3d10_1/d3d10_1_main.c b/dlls/d3d10_1/d3d10_1_main.c
index 721fe7d..a619004 100644
--- a/dlls/d3d10_1/d3d10_1_main.c
+++ b/dlls/d3d10_1/d3d10_1_main.c
@@ -63,18 +63,6 @@ static const char *debug_d3d10_feature_level(D3D10_FEATURE_LEVEL1 feature_level)
#undef WINE_D3D10_TO_STR
-BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, void *reserved)
-{
- switch (reason)
- {
- case DLL_PROCESS_ATTACH:
- DisableThreadLibraryCalls(inst);
- break;
- }
-
- return TRUE;
-}
-
HRESULT WINAPI D3D10CreateDevice1(IDXGIAdapter *adapter, D3D10_DRIVER_TYPE driver_type, HMODULE swrast,
UINT flags, D3D10_FEATURE_LEVEL1 hw_level, UINT sdk_version, ID3D10Device1 **device)
{
More information about the wine-cvs
mailing list