mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-15 08:16:11 -04:00
device: ensure libputil is initialized before scanning devices
This commit is contained in:
parent
4b77812b35
commit
9618cd2193
@ -33,6 +33,8 @@ InputDeviceManager() : _lock("InputDeviceManager") {
|
|||||||
*/
|
*/
|
||||||
void InputDeviceManager::
|
void InputDeviceManager::
|
||||||
make_global_ptr() {
|
make_global_ptr() {
|
||||||
|
init_libputil();
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
_global_ptr = new WinInputDeviceManager;
|
_global_ptr = new WinInputDeviceManager;
|
||||||
#elif defined(__APPLE__)
|
#elif defined(__APPLE__)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user