Alexandre Julliard : dxgi: Use standard dlopen() instead of the libwine wrappers.

Alexandre Julliard julliard at winehq.org
Mon Apr 6 15:53:20 CDT 2020


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Apr  6 11:45:44 2020 +0200

dxgi: Use standard dlopen() instead of the libwine wrappers.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/dxgi/swapchain.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/dlls/dxgi/swapchain.c b/dlls/dxgi/swapchain.c
index b86a79a94c..f19b58da2e 100644
--- a/dlls/dxgi/swapchain.c
+++ b/dlls/dxgi/swapchain.c
@@ -30,7 +30,6 @@
 #ifndef USE_WIN32_VULKAN
 #define WINE_VK_HOST
 #endif
-#include "wine/library.h"
 #include "wine/vulkan.h"
 #include "wine/vulkan_driver.h"
 #include <vkd3d.h>
@@ -952,18 +951,18 @@ static PFN_vkGetInstanceProcAddr load_vulkan(void **vulkan_handle)
 
 static void *load_library(const char *name)
 {
-    return wine_dlopen(name, RTLD_NOW, NULL, 0);
+    return dlopen(name, RTLD_NOW);
 }
 
 static void *get_library_proc(void *handle, const char *name)
 {
-    return wine_dlsym(handle, name, NULL, 0);
+    return dlsym(handle, name);
 }
 
 static void close_library(void *handle)
 {
     if (handle)
-        wine_dlclose(handle, NULL, 0);
+        dlclose(handle);
 }
 
 static PFN_vkGetInstanceProcAddr load_vulkan(void **vulkan_handle)




More information about the wine-cvs mailing list