From: Luca Barbieri Date: Mon, 12 Apr 2010 02:38:53 +0000 (+0200) Subject: nvfx: add missing vtbl for shared textures X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5060b99418ec3869df4cec5951658ce8e7546295;p=mesa.git nvfx: add missing vtbl for shared textures --- diff --git a/src/gallium/drivers/nvfx/nvfx_miptree.c b/src/gallium/drivers/nvfx/nvfx_miptree.c index a5965ca4a31..385551c8241 100644 --- a/src/gallium/drivers/nvfx/nvfx_miptree.c +++ b/src/gallium/drivers/nvfx/nvfx_miptree.c @@ -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;