diff options
| author | victorfisac <[email protected]> | 2017-05-02 14:18:11 +0200 |
|---|---|---|
| committer | victorfisac <[email protected]> | 2017-05-02 14:18:11 +0200 |
| commit | db0cfa935f52a2557e6e3dfddab341917cb1eb14 (patch) | |
| tree | 15e9782c639571d57030420f69c6b8f7c4a69f50 /src/core.c | |
| parent | 8849a4c7526ee6a321df9393dd69d0b29820311a (diff) | |
| parent | d593bd0081ea2dcafe3182ffc874882b5b7110b4 (diff) | |
| download | raylib-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.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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; } |
