Plug in no-op drm buffer attach function

dev
Kristian Høgsberg 14 years ago
parent 29fc5592c5
commit cf2bc67ccd
  1. 1
      compositor/drm.c

@ -123,6 +123,7 @@ drm_create_buffer(struct wl_client *client, struct wl_drm *drm_base,
buffer->base.height = height; buffer->base.height = height;
buffer->base.visual = visual; buffer->base.visual = visual;
buffer->base.attach = drm_buffer_attach; buffer->base.attach = drm_buffer_attach;
buffer->base.damage = drm_buffer_damage;
buffer->image = eglCreateImageKHR(compositor->display, buffer->image = eglCreateImageKHR(compositor->display,
compositor->context, compositor->context,
EGL_DRM_BUFFER_MESA, EGL_DRM_BUFFER_MESA,

Loading…
Cancel
Save