nvfx: add missing vtbl for shared textures
authorLuca Barbieri <luca@luca-barbieri.com>
Mon, 12 Apr 2010 02:38:53 +0000 (04:38 +0200)
committerLuca Barbieri <luca@luca-barbieri.com>
Mon, 12 Apr 2010 02:40:03 +0000 (04:40 +0200)
src/gallium/drivers/nvfx/nvfx_miptree.c

index a5965ca4a3139acade327b15322b813194005eca..385551c8241f0de92675d21abbf4f9a513490863 100644 (file)
@@ -223,6 +223,7 @@ nvfx_miptree_from_handle(struct pipe_screen *pscreen,
        }
 
        mt->base.base = *template;
+       mt->base.vtbl = &nvfx_miptree_vtbl;
        pipe_reference_init(&mt->base.base.reference, 1);
        mt->base.base.screen = pscreen;
        mt->level[0].pitch = stride;