summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvfx
diff options
context:
space:
mode:
authorLuca Barbieri <[email protected]>2010-04-12 04:38:53 +0200
committerLuca Barbieri <[email protected]>2010-04-12 04:40:03 +0200
commit5060b99418ec3869df4cec5951658ce8e7546295 (patch)
tree45196c8f93bcf42cf9abe83326ce8de2e46f77c6 /src/gallium/drivers/nvfx
parent136bd184a29945ab7ae0636ecef65e9db97f8e4d (diff)
nvfx: add missing vtbl for shared textures
Diffstat (limited to 'src/gallium/drivers/nvfx')
-rw-r--r--src/gallium/drivers/nvfx/nvfx_miptree.c1
1 files changed, 1 insertions, 0 deletions
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;