mirror of https://github.com/libsdl-org/SDL
Removed a duplicate delay accidentally added during code refactor
This commit is contained in:
parent
645823fc90
commit
926db1bd54
|
@ -443,9 +443,6 @@ static void HIDAPI_SetupDeviceDriver(SDL_HIDAPI_Device *device, SDL_bool *remove
|
|||
int lock_count = 0;
|
||||
char *path = SDL_strdup(device->path);
|
||||
|
||||
/* Wait a little bit for the device to initialize */
|
||||
SDL_Delay(10);
|
||||
|
||||
SDL_AssertJoysticksLocked();
|
||||
while (SDL_JoysticksLocked()) {
|
||||
++lock_count;
|
||||
|
|
Loading…
Reference in New Issue