mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Fix linux/mac compilation
This commit is contained in:
@@ -36,7 +36,7 @@ public:
|
||||
LibraryHooks::RegisterLibraryHook("libGL.so.1", &FakeVkHooked);
|
||||
}
|
||||
|
||||
static void FakeVkHooked(void *handle) { searchHandle = handle; }
|
||||
static void FakeVkHooked(void *handle, const char *) { searchHandle = handle; }
|
||||
static void *searchHandle;
|
||||
} fakevkhook;
|
||||
|
||||
|
||||
@@ -758,7 +758,7 @@ GLX_PASSTHRU_4(GLXWindow, glXCreateWindow, Display *, dpy, GLXFBConfig, config,
|
||||
const int *, attrib_list);
|
||||
GLX_PASSTHRU_2(void, glXDestroyWindow, Display *, dpy, GLXWindow, window);
|
||||
|
||||
static void GLXHooked(void *handle)
|
||||
static void GLXHooked(void *handle, const char *)
|
||||
{
|
||||
RDCDEBUG("GLX library hooked");
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
static MetalHook metalhook;
|
||||
|
||||
static void MetalHooked(void *handle)
|
||||
static void MetalHooked(void *handle, const char *)
|
||||
{
|
||||
RDCDEBUG("Metal library hooked");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user