simple-shm: assert display conection

Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
dev
Tiago Vignatti 14 years ago committed by Kristian Høgsberg
parent 1d26603633
commit 79caa757c9
  1. 1
      clients/simple-shm.c

@ -198,6 +198,7 @@ create_display(void)
display = malloc(sizeof *display);
display->display = wl_display_connect(NULL);
assert(display->display);
wl_display_add_global_listener(display->display,
display_handle_global, display);

Loading…
Cancel
Save