Module: Mesa Branch: gallium-0.2 Commit: 5425c4aa28721072085f128e902f5679ba31a963 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5425c4aa28721072085f128e902f5679ba31a963
Author: Corbin Simpson <[email protected]> Date: Sun Feb 8 02:03:29 2009 -0800 r300: Accidentally removed a pipe_buffer_reference that should be there. --- src/gallium/drivers/r300/r300_texture.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/gallium/drivers/r300/r300_texture.c b/src/gallium/drivers/r300/r300_texture.c index 7f57656..ff812c0 100644 --- a/src/gallium/drivers/r300/r300_texture.c +++ b/src/gallium/drivers/r300/r300_texture.c @@ -178,6 +178,8 @@ static struct pipe_texture* /* XXX tex->stride = *stride; */ + pipe_buffer_reference(screen, &tex->buffer, buffer); + return (struct pipe_texture*)tex; } _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
