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 93ad789c35d216ccb8cb54cc85c8eabcda9310ca..8137f29af52d2194c65c9a5bb0ee851bb98eb044 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;