mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-12-18 14:04:20 +01:00
Remove useless argument
Do not pass any data to the event watcher, it is unused.
This commit is contained in:
@@ -56,7 +56,7 @@ static int event_watcher(void* data, SDL_Event* event) {
|
||||
|
||||
static void event_loop(void) {
|
||||
#ifdef CONTINUOUS_RESIZING_WORKAROUND
|
||||
SDL_AddEventWatch(event_watcher, screen.window);
|
||||
SDL_AddEventWatch(event_watcher, NULL);
|
||||
#endif
|
||||
SDL_Event event;
|
||||
while (SDL_WaitEvent(&event)) {
|
||||
|
||||
Reference in New Issue
Block a user