Fix linux/mac compilation

This commit is contained in:
baldurk
2025-04-16 21:16:39 +01:00
parent d38d9594a2
commit 6e2dea6219
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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");
+1 -1
View File
@@ -27,7 +27,7 @@
static MetalHook metalhook;
static void MetalHooked(void *handle)
static void MetalHooked(void *handle, const char *)
{
RDCDEBUG("Metal library hooked");