2
0
mirror of https://github.com/Genymobile/scrcpy synced 2025-09-02 07:15:30 +00:00

Remove useless argument

Do not pass any data to the event watcher, it is unused.
This commit is contained in:
Romain Vimont
2018-03-14 09:31:16 +01:00
parent c530d95881
commit 8a3c6a3ae7

View File

@@ -56,7 +56,7 @@ static int event_watcher(void* data, SDL_Event* event) {
static void event_loop(void) { static void event_loop(void) {
#ifdef CONTINUOUS_RESIZING_WORKAROUND #ifdef CONTINUOUS_RESIZING_WORKAROUND
SDL_AddEventWatch(event_watcher, screen.window); SDL_AddEventWatch(event_watcher, NULL);
#endif #endif
SDL_Event event; SDL_Event event;
while (SDL_WaitEvent(&event)) { while (SDL_WaitEvent(&event)) {