Commit: cd7e9a1ad5b4f60934c4d95d81968788331db94a
Author: Campbell Barton
Date:   Tue Sep 27 07:03:58 2022 +1000
Branches: master
https://developer.blender.org/rBcd7e9a1ad5b4f60934c4d95d81968788331db94a

Cleanup: use the system-handle arg for GHOST_SetMultitouchGestures

There was an unused argument warning, quiet by using the argument.

===================================================================

M       intern/ghost/intern/GHOST_C-api.cpp

===================================================================

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);
 }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to