fix emcc warning (-Wparentheses-equality)
This commit is contained in:
parent
6fb5207694
commit
321e1d1d5f
|
|
@ -4218,7 +4218,7 @@ static EM_BOOL EmscriptenKeyboardCallback(int eventType, const EmscriptenKeyboar
|
||||||
static EM_BOOL EmscriptenMouseCallback(int eventType, const EmscriptenMouseEvent *mouseEvent, void *userData)
|
static EM_BOOL EmscriptenMouseCallback(int eventType, const EmscriptenMouseEvent *mouseEvent, void *userData)
|
||||||
{
|
{
|
||||||
// Lock mouse pointer when click on screen
|
// Lock mouse pointer when click on screen
|
||||||
if ((eventType == EMSCRIPTEN_EVENT_CLICK))
|
if (eventType == EMSCRIPTEN_EVENT_CLICK)
|
||||||
{
|
{
|
||||||
EmscriptenPointerlockChangeEvent plce;
|
EmscriptenPointerlockChangeEvent plce;
|
||||||
emscripten_get_pointerlock_status(&plce);
|
emscripten_get_pointerlock_status(&plce);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user