egl: Fix for minor api change
authorJakob Bornecrantz <wallbraker@gmail.com>
Fri, 27 Feb 2009 02:25:48 +0000 (03:25 +0100)
committerJakob Bornecrantz <wallbraker@gmail.com>
Fri, 27 Feb 2009 02:35:01 +0000 (03:35 +0100)
src/gallium/state_trackers/egl/egl_surface.c

index 281dff9f8a7a409e4c89d794eac42acfd5fe06c9..aa3c32d41c9f9253747af0fed82ea4a62bdddd6c 100644 (file)
@@ -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;