summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-09-15 12:49:11 -0600
committerBrian Paul <[email protected]>2010-09-15 12:49:13 -0600
commit3085efabb18f76f369249fe1ad85665a5f9d1a60 (patch)
tree2329a7094d325c7145632d004a8917d9e506aee6 /src/gallium/drivers
parent29289b43b7568299b3a723818284acb17ed25e3b (diff)
llvmpipe: s/boolean/unsigned/ in bitfield to silence warning
Using non-int types for bitfields is a gcc extension. The size of the struct is not effected by this change.
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_rast.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_rast.h b/src/gallium/drivers/llvmpipe/lp_rast.h
index 57676679354..c55b97a9d13 100644
--- a/src/gallium/drivers/llvmpipe/lp_rast.h
+++ b/src/gallium/drivers/llvmpipe/lp_rast.h
@@ -79,8 +79,8 @@ struct lp_rast_state {
*/
struct lp_rast_shader_inputs {
float facing; /** Positive for front-facing, negative for back-facing */
- boolean disable:1; /** Partially binned, disable this command */
- boolean opaque:1; /** Is opaque */
+ unsigned disable:1; /** Partially binned, disable this command */
+ unsigned opaque:1; /** Is opaque */
float (*a0)[4];
float (*dadx)[4];