summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_context.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2010-01-09 19:19:44 +0100
committerCorbin Simpson <[email protected]>2010-01-17 01:03:50 -0800
commit8959608051ef8e4a97214323009d09c5e9e633fb (patch)
treecd8c852f9e6e34c89a5ff7bc11856495b6e278ae /src/gallium/drivers/r300/r300_context.c
parent08edbe9f14712f719f838769c61123f83768af76 (diff)
r300g: output texture debug messages if only RADEON_DEBUG=tex is set
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.c')
-rw-r--r--src/gallium/drivers/r300/r300_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_context.c b/src/gallium/drivers/r300/r300_context.c
index 6bd2b0278f5..94a9ab3ef3f 100644
--- a/src/gallium/drivers/r300/r300_context.c
+++ b/src/gallium/drivers/r300/r300_context.c
@@ -87,7 +87,7 @@ r300_is_texture_referenced(struct pipe_context *pipe,
{
struct pipe_buffer* buf = 0;
- r300_get_texture_buffer(texture, &buf, NULL);
+ r300_get_texture_buffer(pipe->screen, texture, &buf, NULL);
return pipe->is_buffer_referenced(pipe, buf);
}