src/video/wayland/SDL_waylandvideo.c
changeset 10618 01ff51434145
parent 10583 974f8ebcb819
child 10737 3406a0f8b041
equal deleted inserted replaced
10617:346c02ff71b6 10618:01ff51434145
   269     SDL_zero(*display);
   269     SDL_zero(*display);
   270 
   270 
   271     output = wl_registry_bind(d->registry, id, &wl_output_interface, 2);
   271     output = wl_registry_bind(d->registry, id, &wl_output_interface, 2);
   272     if (!output) {
   272     if (!output) {
   273         SDL_SetError("Failed to retrieve output.");
   273         SDL_SetError("Failed to retrieve output.");
       
   274         SDL_free(display);
   274         return;
   275         return;
   275     }
   276     }
   276 
   277 
   277     wl_output_add_listener(output, &output_listener, display);
   278     wl_output_add_listener(output, &output_listener, display);
   278 }
   279 }