Mesa (master): i810: use ColorMask[0]
Brian Paul
brianp at kemper.freedesktop.org
Thu Jan 7 16:43:57 UTC 2010
Module: Mesa
Branch: master
Commit: fa47eff55b4cb1f64afff7570f08a57f330fb05d
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fa47eff55b4cb1f64afff7570f08a57f330fb05d
Author: Brian Paul <brianp at vmware.com>
Date: Thu Jan 7 09:40:08 2010 -0700
i810: use ColorMask[0]
---
src/mesa/drivers/dri/i810/i810ioctl.c | 2 +-
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 623d50c..c631543 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;
More information about the mesa-commit
mailing list