mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
FreeBSD: fix FunctionLoadCallback signature
This commit is contained in:
committed by
Baldur Karlsson
parent
f42b33479b
commit
60511ab657
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user