mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -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::
|
||||
make_global_ptr() {
|
||||
init_libputil();
|
||||
|
||||
#ifdef _WIN32
|
||||
_global_ptr = new WinInputDeviceManager;
|
||||
#elif defined(__APPLE__)
|
||||
|
Loading…
x
Reference in New Issue
Block a user