From 565f0cef26d6da49ae58462d0c1f9b832ee71174 Mon Sep 17 00:00:00 2001 From: Corbin Simpson Date: Mon, 1 Feb 2010 19:47:46 -0800 Subject: r300g: Fix funky segfault. --- src/gallium/drivers/r300/r300_tgsi_to_rc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers/r300/r300_tgsi_to_rc.h') diff --git a/src/gallium/drivers/r300/r300_tgsi_to_rc.h b/src/gallium/drivers/r300/r300_tgsi_to_rc.h index f1e66f46bbc..39b473c7bf5 100644 --- a/src/gallium/drivers/r300/r300_tgsi_to_rc.h +++ b/src/gallium/drivers/r300/r300_tgsi_to_rc.h @@ -39,7 +39,7 @@ struct tgsi_to_rc { const struct tgsi_shader_info * info; int immediate_offset; - struct swizzled_imms imms_to_swizzle[10]; + struct swizzled_imms * imms_to_swizzle; unsigned imms_to_swizzle_count; }; -- cgit v1.2.3