فهرست منبع

Revert "Fix IsGestureDetected parameter inconsistency in raylib.h with rgextures.h (#3464)"

This reverts commit 804f1a83eba7aa5cbb701457e8d6cda372b1a10d.
Ray 1 سال پیش
والد
کامیت
eddeafd2ed
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/raylib.h

+ 1 - 1
src/raylib.h

@@ -1167,7 +1167,7 @@ RLAPI int GetTouchPointCount(void);                           // Get number of t
 // Gestures and Touch Handling Functions (Module: rgestures)
 //------------------------------------------------------------------------------------
 RLAPI void SetGesturesEnabled(unsigned int flags);      // Enable a set of gestures using flags
-RLAPI bool IsGestureDetected(int gesture);              // Check if a gesture have been detected
+RLAPI bool IsGestureDetected(unsigned int gesture);     // Check if a gesture have been detected
 RLAPI int GetGestureDetected(void);                     // Get latest detected gesture
 RLAPI float GetGestureHoldDuration(void);               // Get gesture hold time in milliseconds
 RLAPI Vector2 GetGestureDragVector(void);               // Get gesture drag vector