summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-01-07 09:40:08 -0700
committerBrian Paul <brianp@vmware.com>2010-01-07 09:40:08 -0700
commitfa47eff55b4cb1f64afff7570f08a57f330fb05d (patch)
tree6f926b33018df4ee4967a769ded435e7af66fcf1
parent7c55fe9bfd6f5db8759610bbbf1fa220f02b8164 (diff)
i810: use ColorMask[0]
-rw-r--r--src/mesa/drivers/dri/i810/i810ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i810/i810ioctl.c b/src/mesa/drivers/dri/i810/i810ioctl.c
index 623d50c5cb..c631543d93 100644
--- a/src/mesa/drivers/dri/i810/i810ioctl.c
+++ b/src/mesa/drivers/dri/i810/i810ioctl.c
@@ -51,7 +51,7 @@ static void i810Clear( GLcontext *ctx, GLbitfield mask )
{
i810ContextPtr imesa = I810_CONTEXT( ctx );
__DRIdrawable *dPriv = imesa->driDrawable;
- const GLuint colorMask = *((GLuint *) &ctx->Color.ColorMask);
+ const GLuint colorMask = *((GLuint *) &ctx->Color.ColorMask[0]);
drmI810Clear clear;
unsigned int i;