|
|
@ -226,8 +226,6 @@ create_surface(struct window *window) |
|
|
|
window->geometry.width, |
|
|
|
window->geometry.width, |
|
|
|
window->geometry.height, |
|
|
|
window->geometry.height, |
|
|
|
stride, visual); |
|
|
|
stride, visual); |
|
|
|
/* Process wl_drm_create_buffer. */ |
|
|
|
|
|
|
|
wl_display_iterate(display->display, WL_DISPLAY_WRITABLE); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
wl_surface_attach(window->drm_surface.surface, |
|
|
|
wl_surface_attach(window->drm_surface.surface, |
|
|
|
window->drm_surface.buffer, 0, 0); |
|
|
|
window->drm_surface.buffer, 0, 0); |
|
|
|