From 812e6094f47bb8d1da5a6b421aa4c724cf2035c0 Mon Sep 17 00:00:00 2001 From: Miodrag Milanović Date: Thu, 5 Jan 2023 15:32:40 +0100 Subject: Update BGFX, BX and BIMG (#10789) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update to bgfx a93a714632b79b5ddbf5c86ac323fa9b76ed3433 Co-authored-by: Бранимир Караџић --- 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 d4045326346..770922d6fd4 100644 --- a/3rdparty/bgfx/examples/common/entry/input.cpp +++ b/3rdparty/bgfx/examples/common/entry/input.cpp @@ -1,6 +1,6 @@ /* - * Copyright 2010-2021 Branimir Karadzic. All rights reserved. - * License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause + * Copyright 2010-2022 Branimir Karadzic. All rights reserved. + * License: https://github.com/bkaradzic/bgfx/blob/master/LICENSE */ #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::WindowHandle defaultWindow = { 0 }; - entry::setMouseLock(defaultWindow, _lock); + + entry::setMouseLock(entry::kDefaultWindowHandle, _lock); if (_lock) { s_input->m_mouse.m_norm[0] = 0.0f; -- cgit v1.2.3-70-g09d2