From 94b1e168b2b97b48b81f7a8f64406b0a6f64184e Mon Sep 17 00:00:00 2001 From: "R. Belmont" Date: Wed, 4 Jan 2023 23:29:18 -0500 Subject: Revert "Update BGFX, BX and BIMG (#10750)" (#10787) This reverts commit 5581eaa50a42256242f32569f59ce10d70ddd8c2 due to link failure on macOS. --- 3rdparty/bgfx/examples/common/entry/input.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '3rdparty/bgfx/examples/common/entry/input.cpp') diff --git a/3rdparty/bgfx/examples/common/entry/input.cpp b/3rdparty/bgfx/examples/common/entry/input.cpp index 770922d6fd4..d4045326346 100644 --- a/3rdparty/bgfx/examples/common/entry/input.cpp +++ b/3rdparty/bgfx/examples/common/entry/input.cpp @@ -1,6 +1,6 @@ /* - * Copyright 2010-2022 Branimir Karadzic. All rights reserved. - * License: https://github.com/bkaradzic/bgfx/blob/master/LICENSE + * Copyright 2010-2021 Branimir Karadzic. All rights reserved. + * License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause */ #include @@ -375,8 +375,8 @@ void inputSetMouseLock(bool _lock) if (s_input->m_mouse.m_lock != _lock) { s_input->m_mouse.m_lock = _lock; - - entry::setMouseLock(entry::kDefaultWindowHandle, _lock); + entry::WindowHandle defaultWindow = { 0 }; + entry::setMouseLock(defaultWindow, _lock); if (_lock) { s_input->m_mouse.m_norm[0] = 0.0f; -- cgit v1.2.3-70-g09d2