From c8ffe1831db89e5365b0c522978d3ef6b797ab0e Mon Sep 17 00:00:00 2001 From: baldurk Date: Thu, 4 Oct 2018 18:53:30 +0100 Subject: [PATCH] Linux compile fix --- renderdoc/os/posix/linux/linux_hook.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renderdoc/os/posix/linux/linux_hook.cpp b/renderdoc/os/posix/linux/linux_hook.cpp index de39d37b3..9555d0b97 100644 --- a/renderdoc/os/posix/linux/linux_hook.cpp +++ b/renderdoc/os/posix/linux/linux_hook.cpp @@ -142,7 +142,7 @@ void *intercept_dlopen(const char *filename, int flag, void *ret) for(FunctionLoadCallback cb : callbacks) if(cb) - cb(handle); + cb(ret); ret = realdlopen("librenderdoc.so", flag); break;