From d8331aaf5b4847fd969b315045ec6f1185074722 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 6 Jan 2010 09:54:34 -0700 Subject: svga: make texture_target a ubyte, not a bitfield gcc won't let us take the address of a bitfield in the svga_fs_key_size() function. --- src/gallium/drivers/svga/svga_tgsi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers') diff --git a/src/gallium/drivers/svga/svga_tgsi.h b/src/gallium/drivers/svga/svga_tgsi.h index 1309c339237..043b99115f7 100644 --- a/src/gallium/drivers/svga/svga_tgsi.h +++ b/src/gallium/drivers/svga/svga_tgsi.h @@ -56,7 +56,7 @@ struct svga_fs_compile_key unsigned compare_func:3; unsigned unnormalized:1; unsigned width_height_idx:7; - unsigned texture_target:8; + ubyte texture_target; } tex[PIPE_MAX_SAMPLERS]; }; -- cgit v1.2.3