[PATCH] d3d8/tests: Use GetModuleHandleA instead of LoadLibraryA.
Andrey Gusev
andrey.goosev at gmail.com
Mon Jan 15 11:55:04 CST 2018
Supersedes 140322
Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
---
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 a9188f0ee4..9efa943298 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;
--
2.13.6
More information about the wine-devel
mailing list