From 89fedf0bb909efa28726e4e19f7487b7a7399aa2 Mon Sep 17 00:00:00 2001 From: Ray Date: Wed, 8 Jan 2020 18:33:21 +0100 Subject: [PATCH] Comments review --- src/gestures.h | 12 ++++++------ src/rlgl.h | 1 - 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/gestures.h b/src/gestures.h index baa42c7a6..38df89058 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 47edd1c2a..9b281f6e9 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)