Andrey Gusev : d3d8/tests: Use GetModuleHandleA instead of LoadLibraryA.

Alexandre Julliard julliard at winehq.org
Fri Jan 19 15:43:22 CST 2018


Module: wine
Branch: master
Commit: 8aac7a224db5721e0f3d9dc586f2fe24daf2f0ac
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=8aac7a224db5721e0f3d9dc586f2fe24daf2f0ac

Author: Andrey Gusev <andrey.goosev at gmail.com>
Date:   Mon Jan 15 19:55:04 2018 +0200

d3d8/tests: Use GetModuleHandleA instead of LoadLibraryA.

Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/d3d8/tests/device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/d3d8/tests/device.c b/dlls/d3d8/tests/device.c
index a9188f0..9efa943 100644
--- a/dlls/d3d8/tests/device.c
+++ b/dlls/d3d8/tests/device.c
@@ -8494,7 +8494,7 @@ static void test_clip_planes_limits(void)
 
 START_TEST(device)
 {
-    HMODULE d3d8_handle = LoadLibraryA( "d3d8.dll" );
+    HMODULE d3d8_handle = GetModuleHandleA( "d3d8.dll" );
     WNDCLASSA wc = {0};
     IDirect3D8 *d3d8;
     DEVMODEW current_mode;




More information about the wine-cvs mailing list