diff options
author | Campbell Barton <campbell@blender.org> | 2022-09-27 00:03:58 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-09-27 00:05:13 +0300 |
commit | cd7e9a1ad5b4f60934c4d95d81968788331db94a (patch) | |
tree | eadee36787b79500dae595c1c8eae6da6a02a7fd | |
parent | 84ddb8b3cc9989c2d5569bf2fa381a585f99d20f (diff) |
Cleanup: use the system-handle arg for GHOST_SetMultitouchGestures
There was an unused argument warning, quiet by using the argument.
-rw-r--r-- | intern/ghost/intern/GHOST_C-api.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |