summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRay <[email protected]>2020-01-08 18:33:21 +0100
committerRay <[email protected]>2020-01-08 18:33:21 +0100
commit89fedf0bb909efa28726e4e19f7487b7a7399aa2 (patch)
tree179d2c13d33e0ceb9fd8534ff0b9aec988bfc482 /src
parent4211056354c66f90702508bb78631a0947d57a1f (diff)
downloadraylib-89fedf0bb909efa28726e4e19f7487b7a7399aa2.tar.gz
raylib-89fedf0bb909efa28726e4e19f7487b7a7399aa2.zip
Comments review
Diffstat (limited to 'src')
-rw-r--r--src/gestures.h12
-rw-r--r--src/rlgl.h1
2 files changed, 6 insertions, 7 deletions
diff --git a/src/gestures.h b/src/gestures.h
index baa42c7a..38df8905 100644
--- a/src/gestures.h
+++ b/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
diff --git a/src/rlgl.h b/src/rlgl.h
index 47edd1c2..9b281f6e 100644
--- a/src/rlgl.h
+++ b/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)