From 59df6725afd9c0d50cd962dd01db868be13284db Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Mon, 21 Jun 2010 23:45:53 +0200 Subject: [PATCH] r300g: fix crash when destroying the context on r3xx-r4xx FDO bug #28652, --- src/gallium/drivers/r300/r300_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.30.2