summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2009-02-08 02:03:29 -0800
committerCorbin Simpson <[email protected]>2009-02-08 02:03:29 -0800
commit5425c4aa28721072085f128e902f5679ba31a963 (patch)
tree6aa4067072768e95afac3671bf81628a78709b6a /src
parent360e700a43ce3914d7f336593f380562ca190898 (diff)
r300: Accidentally removed a pipe_buffer_reference that should be there.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/r300/r300_texture.c2
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 7f57656a78e..ff812c09f80 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;
}