From 60511ab657f6e6cf4cb6f35cc481d5586e43ac93 Mon Sep 17 00:00:00 2001 From: Alexander Obzherin Date: Wed, 25 Feb 2026 16:23:59 +0200 Subject: [PATCH] FreeBSD: fix FunctionLoadCallback signature --- renderdoc/os/posix/bsd/bsd_hook.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/renderdoc/os/posix/bsd/bsd_hook.cpp b/renderdoc/os/posix/bsd/bsd_hook.cpp index db7a65359..d15dc5bb9 100644 --- a/renderdoc/os/posix/bsd/bsd_hook.cpp +++ b/renderdoc/os/posix/bsd/bsd_hook.cpp @@ -428,7 +428,7 @@ static void CheckLoadedLibraries() for(FunctionLoadCallback cb : callbacks) if(cb) - cb(handle); + cb(handle, libName.c_str()); } } @@ -470,7 +470,7 @@ void *intercept_dlopen(const char *filename, int flag, void *ret) for(FunctionLoadCallback cb : callbacks) if(cb) - cb(ret); + cb(ret, filename); ret = realdlopen("lib" STRINGIZE(RDOC_BASE_NAME) ".so", flag); break;