|
|
@ -1035,6 +1035,10 @@ int main(int argc, char *argv[]) |
|
|
|
display = wl_display_create(); |
|
|
|
display = wl_display_create(); |
|
|
|
|
|
|
|
|
|
|
|
ec = egl_compositor_create(display); |
|
|
|
ec = egl_compositor_create(display); |
|
|
|
|
|
|
|
if (ec == NULL) { |
|
|
|
|
|
|
|
fprintf(stderr, "failed to create compositor\n"); |
|
|
|
|
|
|
|
exit(EXIT_FAILURE); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
wl_display_set_compositor(display, &ec->base); |
|
|
|
wl_display_set_compositor(display, &ec->base); |
|
|
|
|
|
|
|
|
|
|
|