summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium')
-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 ee86f8230fb..16a75aa612b 100644
--- a/src/gallium/drivers/r300/r300_context.c
+++ b/src/gallium/drivers/r300/r300_context.c
@@ -45,7 +45,7 @@ static void r300_destroy_context(struct pipe_context* context)
if (r300->texkill_sampler) {
pipe_sampler_view_reference(
- (struct pipe_sampler_view**)r300->texkill_sampler,
+ (struct pipe_sampler_view**)&r300->texkill_sampler,
NULL);
}