Browse Source

X11: remove redundant 'wakeup_lock' mutex creation

Sylvain 3 years ago
parent
commit
649a33ae47
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/video/x11/SDL_x11video.c

+ 0 - 1
src/video/x11/SDL_x11video.c

@@ -184,7 +184,6 @@ X11_CreateDevice(int devindex)
         return NULL;
     }
     device->driverdata = data;
-    device->wakeup_lock = SDL_CreateMutex();
 
     data->global_mouse_changed = SDL_TRUE;