From: Jakob Bornecrantz Date: Fri, 27 Feb 2009 02:25:48 +0000 (+0100) Subject: egl: Fix for minor api change X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6a72a2d3f4ea50996593bfa55ae671eee9836d76;p=mesa.git egl: Fix for minor api change --- diff --git a/src/gallium/state_trackers/egl/egl_surface.c b/src/gallium/state_trackers/egl/egl_surface.c index 281dff9f8a7..aa3c32d41c9 100644 --- a/src/gallium/state_trackers/egl/egl_surface.c +++ b/src/gallium/state_trackers/egl/egl_surface.c @@ -132,7 +132,7 @@ drm_create_texture(_EGLDriver *drv, scrn->front.width = w; scrn->front.height = h; scrn->front.pitch = pitch; - scrn->front.handle = drm_api_hocks.handle_from_buffer(dev->winsys, scrn->buffer); + drm_api_hocks.handle_from_buffer(dev->winsys, scrn->buffer, &scrn->front.handle); if (0) goto err_handle;