Ray 5 éve
szülő
commit
89fedf0bb9
2 módosított fájl, 6 hozzáadás és 7 törlés
  1. 6 6
      src/gestures.h
  2. 0 1
      src/rlgl.h

+ 6 - 6
src/gestures.h

@@ -181,12 +181,12 @@ float GetGesturePinchAngle(void);                       // Get gesture pinch ang
 //----------------------------------------------------------------------------------
 
 // Touch gesture variables
-static Vector2 touchDownPosition = { 0.0f, 0.0f };
-static Vector2 touchDownPosition2 = { 0.0f, 0.0f };
-static Vector2 touchDownDragPosition = { 0.0f, 0.0f };
-static Vector2 touchUpPosition = { 0.0f, 0.0f };
-static Vector2 moveDownPosition = { 0.0f, 0.0f };
-static Vector2 moveDownPosition2 = { 0.0f, 0.0f };
+static Vector2 touchDownPosition = { 0.0f, 0.0f };      // First touch down position
+static Vector2 touchDownPosition2 = { 0.0f, 0.0f };     // Second touch down position
+static Vector2 touchDownDragPosition = { 0.0f, 0.0f };  // Touch drag position
+static Vector2 touchUpPosition = { 0.0f, 0.0f };        // Touch up position
+static Vector2 moveDownPosition = { 0.0f, 0.0f };       // First touch down position on move
+static Vector2 moveDownPosition2 = { 0.0f, 0.0f };      // Second touch down position on move
 
 static int pointCount = 0;                      // Touch points counter
 static int firstTouchId = -1;                   // Touch id for first touch point

+ 0 - 1
src/rlgl.h

@@ -813,7 +813,6 @@ static float maxAnisotropicLevel = 0.0f;    // Maximum anisotropy level supporte
 static PFNGLGENVERTEXARRAYSOESPROC glGenVertexArrays;        // Entry point pointer to function glGenVertexArrays()
 static PFNGLBINDVERTEXARRAYOESPROC glBindVertexArray;        // Entry point pointer to function glBindVertexArray()
 static PFNGLDELETEVERTEXARRAYSOESPROC glDeleteVertexArrays;  // Entry point pointer to function glDeleteVertexArrays()
-//static PFNGLISVERTEXARRAYOESPROC glIsVertexArray;          // NOTE: Fails in WebGL, omitted
 #endif
 
 #if defined(SUPPORT_VR_SIMULATOR)