summaryrefslogtreecommitdiffhomepage
path: root/src/core.c
diff options
context:
space:
mode:
authorvictorfisac <[email protected]>2017-05-02 14:18:11 +0200
committervictorfisac <[email protected]>2017-05-02 14:18:11 +0200
commitdb0cfa935f52a2557e6e3dfddab341917cb1eb14 (patch)
tree15e9782c639571d57030420f69c6b8f7c4a69f50 /src/core.c
parent8849a4c7526ee6a321df9393dd69d0b29820311a (diff)
parentd593bd0081ea2dcafe3182ffc874882b5b7110b4 (diff)
downloadraylib-db0cfa935f52a2557e6e3dfddab341917cb1eb14.tar.gz
raylib-db0cfa935f52a2557e6e3dfddab341917cb1eb14.zip
Merge remote-tracking branch 'refs/remotes/raysan5/develop' into develop
Diffstat (limited to 'src/core.c')
-rw-r--r--src/core.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core.c b/src/core.c
index 3f3bc6ea..1bad2369 100644
--- a/src/core.c
+++ b/src/core.c
@@ -81,7 +81,7 @@
#include "raylib.h"
#include "rlgl.h" // raylib OpenGL abstraction layer to OpenGL 1.1, 3.3+ or ES2
-#include "utils.h" // Required for: fopen() Android mapping, TraceLog()
+#include "utils.h" // Required for: fopen() Android mapping
#define RAYMATH_IMPLEMENTATION // Use raymath as a header-only library (includes implementation)
#define RAYMATH_EXTERN_INLINE // Compile raymath functions as static inline (remember, it's a compiler hint)
@@ -2719,6 +2719,8 @@ static EM_BOOL EmscriptenKeyboardCallback(int eventType, const EmscriptenKeyboar
// Register mouse input events
static EM_BOOL EmscriptenMouseCallback(int eventType, const EmscriptenMouseEvent *mouseEvent, void *userData)
{
+ /*
+ // Lock mouse pointer when click on screen
if (eventType == EMSCRIPTEN_EVENT_CLICK)
{
EmscriptenPointerlockChangeEvent plce;
@@ -2732,6 +2734,7 @@ static EM_BOOL EmscriptenMouseCallback(int eventType, const EmscriptenMouseEvent
//if (plce.isActive) TraceLog(WARNING, "Pointer lock exit did not work!");
}
}
+ */
return 0;
}