r300: Accidentally removed a pipe_buffer_reference that should be there.
authorCorbin Simpson <MostAwesomeDude@gmail.com>
Sun, 8 Feb 2009 10:03:29 +0000 (02:03 -0800)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Sun, 8 Feb 2009 10:03:29 +0000 (02:03 -0800)
src/gallium/drivers/r300/r300_texture.c

index 7f57656a78efae81af2d2356f73f6a26d6478501..ff812c09f8080139e94871e67fd0b66a6e628914 100644 (file)
@@ -178,6 +178,8 @@ static struct pipe_texture*
 
     /* XXX tex->stride = *stride; */
 
+    pipe_buffer_reference(screen, &tex->buffer, buffer);
+
     return (struct pipe_texture*)tex;
 }