Andrey Gusev : d3d8/tests: Use GetModuleHandleA instead of LoadLibraryA.
Module: wine Branch: master Commit: 8aac7a224db5721e0f3d9dc586f2fe24daf2f0ac URL: https://source.winehq.org/git/wine.git/?a=commit;h=8aac7a224db5721e0f3d9dc58... Author: Andrey Gusev <andrey.goosev(a)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(a)gmail.com> Signed-off-by: Henri Verbeet <hverbeet(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)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;
participants (1)
-
Alexandre Julliard