Module: Mesa Branch: gallium-resources Commit: 47c87ada452be45766928a01b6d69da63e3a5f5e URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=47c87ada452be45766928a01b6d69da63e3a5f5e
Author: Marek Olšák <[email protected]> Date: Sat Apr 3 05:19:20 2010 +0200 r300g: fix transfers for textures created from winsys handles --- src/gallium/drivers/r300/r300_texture.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/gallium/drivers/r300/r300_texture.c b/src/gallium/drivers/r300/r300_texture.c index de6ddeb..b164b74 100644 --- a/src/gallium/drivers/r300/r300_texture.c +++ b/src/gallium/drivers/r300/r300_texture.c @@ -938,6 +938,7 @@ r300_texture_from_handle(struct pipe_screen* screen, } tex->b.b = *base; + tex->b.vtbl = &r300_texture_vtbl; pipe_reference_init(&tex->b.b.reference, 1); tex->b.b.screen = screen; _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
