From cd7e9a1ad5b4f60934c4d95d81968788331db94a Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 27 Sep 2022 07:03:58 +1000 Subject: Cleanup: use the system-handle arg for GHOST_SetMultitouchGestures There was an unused argument warning, quiet by using the argument. --- intern/ghost/intern/GHOST_C-api.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intern/ghost/intern/GHOST_C-api.cpp b/intern/ghost/intern/GHOST_C-api.cpp index 1dc23a68cea..0026a33bfc2 100644 --- a/intern/ghost/intern/GHOST_C-api.cpp +++ b/intern/ghost/intern/GHOST_C-api.cpp @@ -745,7 +745,7 @@ GHOST_TSuccess GHOST_InvalidateWindow(GHOST_WindowHandle windowhandle) void GHOST_SetMultitouchGestures(GHOST_SystemHandle systemhandle, const bool use) { - GHOST_ISystem *system = GHOST_ISystem::getSystem(); + GHOST_ISystem *system = (GHOST_ISystem *)systemhandle; return system->setMultitouchGestures(use); } -- cgit v1.2.3