Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-09-27 00:03:58 +0300
committerCampbell Barton <campbell@blender.org>2022-09-27 00:05:13 +0300
commitcd7e9a1ad5b4f60934c4d95d81968788331db94a (patch)
treeeadee36787b79500dae595c1c8eae6da6a02a7fd
parent84ddb8b3cc9989c2d5569bf2fa381a585f99d20f (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.cpp2
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);
}