Mesa (master): nvfx: add missing vtbl for shared textures
Luca Barbieri
lb at kemper.freedesktop.org
Mon Apr 12 02:40:09 UTC 2010
Module: Mesa
Branch: master
Commit: 5060b99418ec3869df4cec5951658ce8e7546295
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5060b99418ec3869df4cec5951658ce8e7546295
Author: Luca Barbieri <luca at luca-barbieri.com>
Date: Mon Apr 12 04:38:53 2010 +0200
nvfx: add missing vtbl for shared textures
---
src/gallium/drivers/nvfx/nvfx_miptree.c | 1 +
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 a5965ca..385551c 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;
More information about the mesa-commit
mailing list