mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-23 14:05:39 +00:00
hidapi: Don't run a separate event loop for device notifications.
Fixes Bugzilla #4286.
This commit is contained in:
parent
91da4963d3
commit
be8ef94f18
|
@ -307,7 +307,7 @@ HIDAPI_UpdateDiscovery()
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(__WIN32__)
|
#if 0 /* just let the usual SDL_PumpEvents loop dispatch these. --ryan. defined(__WIN32__)*/
|
||||||
/* We'll only get messages on the same thread that created the window */
|
/* We'll only get messages on the same thread that created the window */
|
||||||
if (SDL_ThreadID() == SDL_HIDAPI_discovery.m_nThreadID) {
|
if (SDL_ThreadID() == SDL_HIDAPI_discovery.m_nThreadID) {
|
||||||
MSG msg;
|
MSG msg;
|
||||||
|
|
Loading…
Reference in a new issue