drm/sw: llvmpipe texture_from_handle
authorGeorge Sapountzis <gsapountzis@gmail.com>
Fri, 19 Mar 2010 00:38:11 +0000 (02:38 +0200)
committerGeorge Sapountzis <gsapountzis@gmail.com>
Sun, 21 Mar 2010 11:21:46 +0000 (13:21 +0200)
Not sure, but judging by softpipe, this hook was forgotten.

src/gallium/drivers/llvmpipe/lp_texture.c

index 93ad789..8137f29 100644 (file)
@@ -464,6 +464,7 @@ llvmpipe_init_screen_texture_funcs(struct pipe_screen *screen)
 {
    screen->texture_create = llvmpipe_texture_create;
    screen->texture_destroy = llvmpipe_texture_destroy;
+   screen->texture_from_handle = llvmpipe_texture_from_handle;
    screen->texture_get_handle = llvmpipe_texture_get_handle;
 
    screen->get_tex_surface = llvmpipe_get_tex_surface;