From: Brian Paul Date: Thu, 7 Jan 2010 16:40:08 +0000 (-0700) Subject: i810: use ColorMask[0] X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fa47eff55b4cb1f64afff7570f08a57f330fb05d;p=mesa.git i810: use ColorMask[0] --- diff --git a/src/mesa/drivers/dri/i810/i810ioctl.c b/src/mesa/drivers/dri/i810/i810ioctl.c index 623d50c5cbe..c631543d933 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;