Browse Source

Merge pull request #2645 from Pix-xiP/fix-raylib-gesture

GetGestureDetected proc returns a Gesture not a Gestures bit_set
Jeroen van Rijn 2 years ago
parent
commit
a238f78855
1 changed files with 1 additions and 1 deletions
  1. 1 1
      vendor/raylib/raylib.odin

+ 1 - 1
vendor/raylib/raylib.odin

@@ -1133,7 +1133,7 @@ foreign lib {
 
 
 	SetGesturesEnabled     :: proc(flags: Gestures) ---          // Enable a set of gestures using flags
 	SetGesturesEnabled     :: proc(flags: Gestures) ---          // Enable a set of gestures using flags
 	IsGestureDetected      :: proc(gesture: Gesture) -> bool --- // Check if a gesture have been detected
 	IsGestureDetected      :: proc(gesture: Gesture) -> bool --- // Check if a gesture have been detected
-	GetGestureDetected     :: proc() -> Gesture ---              // Get latest detected gesture
+	GetGestureDetected     :: proc() -> Gestures ---             // Get latest detected gesture
 	GetGestureHoldDuration :: proc() -> f32 ---                  // Get gesture hold time in milliseconds
 	GetGestureHoldDuration :: proc() -> f32 ---                  // Get gesture hold time in milliseconds
 	GetGestureDragVector   :: proc() -> Vector2 ---              // Get gesture drag vector
 	GetGestureDragVector   :: proc() -> Vector2 ---              // Get gesture drag vector
 	GetGestureDragAngle    :: proc() -> f32 ---                  // Get gesture drag angle
 	GetGestureDragAngle    :: proc() -> f32 ---                  // Get gesture drag angle